|
Search: id:A151497
|
|
|
| A151497 |
|
Number of walks within N^2 (the first quadrant of Z^2) starting at (0,0), ending on the vertical axis and consisting of n steps taken from {(-1, 1), (0, -1), (1, 0)} |
|
+0 1
|
|
| 1, 0, 1, 1, 2, 5, 10, 21, 56, 126, 294, 792, 1914, 4719, 12870, 32461, 82940, 228514, 593164, 1553630, 4316572, 11438076, 30509934, 85359210, 229719538, 621361560, 1748563730, 4762954770, 13025860020, 36837179385, 101317593480, 279567203745, 793968265740, 2201121030510, 6118456219260, 17440129166730
(list; graph; listen)
|
|
|
OFFSET
|
0,5
|
|
|
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, j, -1 + n] + aux[i, 1 + j, -1 + n] + aux[1 + i, -1 + j, -1 + n]]; Table[Sum[aux[0, k, n], {k, 0, n}], {n, 0, 25}]
|
|
CROSSREFS
|
Sequence in context: A131403 A052540 A018106 this_sequence A110744 A079342 A034456
Adjacent sequences: A151494 A151495 A151496 this_sequence A151498 A151499 A151500
|
|
KEYWORD
|
nonn,walk
|
|
AUTHOR
|
Manuel Kauers (manuel(AT)kauers.de), Nov 18 2008
|
|
|
Search completed in 0.002 seconds
|