|
Search: id:A148295
|
|
|
| A148295 |
|
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, -1), (-1, 0, 1), (-1, 1, 1), (0, 1, 0), (1, -1, 0)} |
|
+0 1
|
|
| 1, 1, 2, 5, 13, 35, 110, 348, 1125, 3843, 13148, 45611, 162558, 586159, 2131427, 7874167, 29269092, 109441041, 413029164, 1569707723, 5997195310, 23061664488, 89112018445, 345612962634, 1346404338661, 5267594366529, 20682129410605, 81495668391418, 322182388464667, 1277141667228060, 5076304190905437
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
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, 1 + j, k, -1 + n] + aux[i, -1 + j, k, -1 + n] + aux[1 + i, -1 + j, -1 + k, -1 + n] + aux[1 + i, j, -1 + k, -1 + n] + aux[1 + i, 1 + j, 1 + 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: A148292 A148293 A148294 this_sequence A046171 A022854 A116409
Adjacent sequences: A148292 A148293 A148294 this_sequence A148296 A148297 A148298
|
|
KEYWORD
|
nonn,walk
|
|
AUTHOR
|
Manuel Kauers (manuel(AT)kauers.de), Nov 18 2008
|
|
|
Search completed in 0.002 seconds
|