|
Search: id:A014523
|
|
|
| A014523 |
|
Number of Hamiltonian paths in a 4 X (2n+1) grid. |
|
+0 1
|
|
| 1, 4, 20, 111, 624, 3505, 19676, 110444, 619935, 3479776, 19532449, 109638260, 615414276, 3454402959, 19390027600, 108838828241, 610926955724, 3429215026140, 19248644351551, 108045225087424, 606472354675265
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
REFERENCES
|
K. L. Collins and L. B. Krompart, The number of Hamiltonian paths in a rectangular grid, Discrete Math. 169 (1997), 29-38.
|
|
LINKS
|
Index entries for two-way infinite sequences
|
|
FORMULA
|
G.f.: (1-3x+x^2)/(1-7x+9x^2-7x^3+x^4). a(n)=7a(n-1)-9a(n-2)+7a(n-3)-a(n-4)=-a(-2-n).
|
|
PROGRAM
|
(PARI) {a(n)= if(n<-1, -a(-2-n), polcoeff( (1-3*x+x^2)/ (1-7*x+9*x^2-7*x^3+x^4) +x*O(x^n), n))} /* Michael Somos Jun 14 2003 */
|
|
CROSSREFS
|
Sequence in context: A158827 A026156 A025183 this_sequence A153299 A081335 A136783
Adjacent sequences: A014520 A014521 A014522 this_sequence A014524 A014525 A014526
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|