OFFSET
0,2
FORMULA
For n>=27 all terms are 0 as the walk contains more steps than there are available lattice points in the 2x2x2 box.
EXAMPLE
a(1) = 6 as the walk is free to move one step in all six axial directions.
a(2) = 24 as after a step in one of the six axial directions the walk must turn along the face of the box; this eliminates the 2-step straight walk in all directions, so the total number of walks is 6*5-6 = 24.
a(26) = 0 as it is not possible to visit all 26 available lattice points when the walk starts from the middle of the box.
CROSSREFS
KEYWORD
nonn,walk
AUTHOR
Scott R. Shannon, Aug 11 2020
STATUS
approved