|
Search: id:A149857
|
|
|
| A149857 |
|
Number of walks within N^3 (the first octant of Z^3) starting at (0,0,0) and consisting of n steps taken from {(-1, -1, 0), (0, 0, 1), (0, 1, -1), (1, 0, 0)} |
|
+0 1
|
|
| 1, 2, 5, 13, 38, 116, 373, 1212, 4063, 13790, 47820, 166683, 589544, 2096696, 7543287, 27220425, 99068066, 361665420, 1329801449, 4899090442, 18150085724, 67373439992, 251310896362, 938695649224, 3520154347595, 13218509615238, 49811826743912, 187895224773770, 710859105078058, 2692016339593940
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
LINKS
|
A. Bostan and M. Kauers, 2008. Automatic Classification of Restricted Lattice Walks, ArXiv 0811.2899.
|
|
MATHEMATICA
|
aux[i_Integer, j_Integer, k_Integer, n_Integer] := Which[Min[i, j, k, n] < 0 || Max[i, j, k] > n, 0, n == 0, KroneckerDelta[i, j, k, n], True, aux[i, j, k, n] = aux[-1 + i, j, k, -1 + n] + aux[i, -1 + j, 1 + k, -1 + n] + aux[i, j, -1 + k, -1 + n] + aux[1 + i, 1 + j, k, -1 + n]]; Table[Sum[aux[i, j, k, n], {i, 0, n}, {j, 0, n}, {k, 0, n}], {n, 0, 10}]
|
|
CROSSREFS
|
Sequence in context: A149856 A064384 A148302 this_sequence A001475 A149858 A148303
Adjacent sequences: A149854 A149855 A149856 this_sequence A149858 A149859 A149860
|
|
KEYWORD
|
nonn,walk
|
|
AUTHOR
|
Manuel Kauers (manuel(AT)kauers.de), Nov 18 2008
|
|
|
Search completed in 0.002 seconds
|