Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A098981
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A098981 Total number of self-intersections of all walks on the square lattice starting at the origin. +0
2
0, 0, 4, 32, 212, 1184, 6256 (list; graph; listen)
OFFSET

0,3

FORMULA

Analysis of this sequence and A098982: Let a(n)= total number of self-intersections of all walks on a lattice starting from the origin. Recursions:

a(n) = r * a(n-1) + w(n) - b(n); a(0)=0; or a(n) = r * a(n-1) + Sum_{m=0}^{n-1} b(m) q(n-m); a(0)=0;

where w(n) = number of n-steps walks on the lattice, q(n) = number of n-steps walks ending in the origin, b(n) = number of n-steps walks that never go back to the origin, r = valency. The convolution of b(n) and q(n) gives w(n).

On the square lattice: w(n) = 4^n, q(n) is A002894 alternated with 0 in odd positions: 1, 0, 4, 0, 36, 0, 400, ...; q(2k) = binomial(2k, k)^2, q(2k+1) = 0; b(n) is A063887: 1, 4, 12, 48, 172, 688, ...

G.f.'s: a(n) -> C(x), b(n) -> B(x), q(n) -> Q(x) is K(4x)/(pi/2) with K(z)= complete elliptic integral first kind at z, w(n) -> W(x) = 1/(1-4x).

We find b(n) as the sequence which convoluted with q(n) gives w(n): W(x) = B(x)*Q(x) => B(x) = 1/((1 - 4x) Q(x)); C(x/4)=x C(x/4) +1/(1-x) - B(x/4) -1 = (1-x)^(-2)*x-1/Q(x/4)).

This machinery works an any lattice with the appropriate b(n), w(n) and q(n).

CROSSREFS

Cf. A098982, A063887.

Sequence in context: A043018 A002012 A133642 this_sequence A120917 A099269 A125823

Adjacent sequences: A098978 A098979 A098980 this_sequence A098982 A098983 A098984

KEYWORD

nonn,more

AUTHOR

Pietro Monari (Pietro.Monari(AT)tetrapak.com), Oct 24 2004

page 1

Search completed in 0.007 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research