The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A328296 Number of n-step walks on cubic lattice starting at (0,0,0), ending at (0,y,z), remaining in the first (nonnegative) octant and using steps (0,0,1), (0,1,0), (1,0,0), (-1,1,1), (1,-1,1), and (1,1,-1). 3
 1, 2, 5, 16, 58, 228, 945, 4072, 18078, 82172, 380666, 1791138, 8537912, 41146988, 200169891, 981705400, 4848820372, 24098703860, 120433164750, 604831645542, 3050979757728, 15451575335362, 78536766518038, 400497435480332, 2048473941706016, 10506489209380466 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Alois P. Heinz, Table of n, a(n) for n = 0..610 Wikipedia, Lattice path Wikipedia, Self-avoiding walk FORMULA a(n) is odd <=> n in { A000918 } and n >= 0. MAPLE b:= proc(l) option remember; `if`(l[-1]=0, 1, (r-> add(       add(add(`if`(i+j+k=1, (h-> `if`(h[1]<0, 0, b(h)))(       sort(l-[i, j, k])), 0), k=r), j=r), i=r))([\$-1..1]))     end: a:= n-> add(b(sort([0, j, n-j])), j=0..n): seq(a(n), n=0..29); MATHEMATICA b[l_] := b[l] = If[Last[l] == 0, 1, Sum[If[i + j + k == 1, Function[h, If[h[[1]] < 0, 0, b[h]]][Sort[l - {i, j, k}]], 0], {i, {-1, 0, 1}}, {j, {-1, 0, 1}}, {k, {-1, 0, 1}}]]; a[n_] := Sum[b[Sort[{0, j, n  - j}]], {j, 0, n }]; a /@ Range[0, 29] (* Jean-François Alcover, May 12 2020, after Maple *) CROSSREFS Column k=0 of A328297. Row sums of A328300. Cf. A000079, A000918. Sequence in context: A212263 A149979 A262441 * A300042 A019448 A243326 Adjacent sequences:  A328293 A328294 A328295 * A328297 A328298 A328299 KEYWORD nonn,walk AUTHOR Alois P. Heinz, Oct 11 2019 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 9 07:36 EDT 2021. Contains 343692 sequences. (Running on oeis4.)