|
Search: id:A151356
|
|
|
| A151356 |
|
Number of walks within N^2 (the first quadrant of Z^2) starting and ending at (0,0) and consisting of n steps taken from {(-1, -1), (-1, 0), (-1, 1), (0, -1), (1, -1), (1, 1)} |
|
+0 1
|
|
| 1, 0, 1, 2, 8, 22, 101, 364, 1618, 6702, 30512, 135904, 634610, 2958340, 14147829, 67996988, 331941976, 1631261090, 8101797506, 40502662220, 204075069854, 1034325813080, 5274800747204, 27039112223056, 139308940725640, 720950926411856, 3747030865713930, 19550315832999732, 102379532471138668
(list; graph; listen)
|
|
|
OFFSET
|
0,4
|
|
|
LINKS
|
M. Bouquet-Melou and M. Mishna, 2008. Walks with small steps in the quarter plane, ArXiv 0810.4387.
|
|
MATHEMATICA
|
aux[i_Integer, j_Integer, n_Integer] := Which[Min[i, j, n] < 0 || Max[i, j] > n, 0, n == 0, KroneckerDelta[i, j, n], True, aux[i, j, n] = aux[-1 + i, -1 + j, -1 + n] + aux[-1 + i, 1 + j, -1 + n] + aux[i, 1 + j, -1 + n] + aux[1 + i, -1 + j, -1 + n] + aux[1 + i, j, -1 + n] + aux[1 + i, 1 + j, -1 + n]]; Table[aux[0, 0, n], {n, 0, 25}]
|
|
CROSSREFS
|
Sequence in context: A121135 A072929 A053958 this_sequence A158466 A065694 A161463
Adjacent sequences: A151353 A151354 A151355 this_sequence A151357 A151358 A151359
|
|
KEYWORD
|
nonn,walk
|
|
AUTHOR
|
Manuel Kauers (manuel(AT)kauers.de), Nov 18 2008
|
|
|
Search completed in 0.002 seconds
|