Search: id:A151038 Results 1-1 of 1 results found. %I A151038 %S A151038 1,3,9,33,123,459,1767,6795,26397,103323,404439,1591917,6274389,24780489, 98110263,388610895, %T A151038 1541837565,6122129877,24327902433,96767761083,385038905697,1533118174923, 6107008497819, %U A151038 24335988943143,97021648253361,386885931518703,1543276950241995,6157531782523065 %N A151038 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), (0, 1, 1), (1, 0, 1), (1, 1, 0)} %H A151038 A. Bostan and M. Kauers, 2008. Automatic Classification of Restricted Lattice Walks, ArXiv 0811.2899. %t A151038 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[-1 + i, j, -1 + k, -1 + n] + aux[i, -1 + 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}] %Y A151038 Sequence in context: A148996 A148997 A082841 this_sequence A039648 A049182 A049168 %Y A151038 Adjacent sequences: A151035 A151036 A151037 this_sequence A151039 A151040 A151041 %K A151038 nonn,walk %O A151038 0,2 %A A151038 Manuel Kauers (manuel(AT)kauers.de), Nov 18 2008 Search completed in 0.001 seconds