|
Search: id:A151456
|
|
|
| A151456 |
|
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, 0), (0, -1), (1, -1), (1, 0), (1, 1)} |
|
+0 1
|
|
| 1, 0, 2, 2, 10, 21, 81, 224, 803, 2561, 9050, 30870, 110319, 390692, 1416287, 5140142, 18897316, 69766341, 259721708, 971424259, 3655211118, 13814548450, 52455943266, 199966174108, 765230937806, 2938440326656, 11320368884041, 43742501535980, 169501362940771, 658540291021676, 2564869428603860
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
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, j, -1 + n] + aux[-1 + i, 1 + j, -1 + n] + aux[i, 1 + j, -1 + n] + aux[1 + i, j, -1 + n]]; Table[Sum[aux[0, k, n], {k, 0, n}], {n, 0, 25}]
|
|
CROSSREFS
|
Sequence in context: A164124 A003609 A102446 this_sequence A151389 A151428 A102345
Adjacent sequences: A151453 A151454 A151455 this_sequence A151457 A151458 A151459
|
|
KEYWORD
|
nonn,walk
|
|
AUTHOR
|
Manuel Kauers (manuel(AT)kauers.de), Nov 18 2008
|
|
|
Search completed in 0.002 seconds
|