OFFSET
7,2
COMMENTS
Only 1/8 of all possible walks is counted by selecting the first step in +x direction and requiring the first step changing y to be positive.
REFERENCES
See references given for A001411.
LINKS
Hugo Pfoertner, Results for the 2D Self-Trapping Random Walk
Eric Weisstein's World of Mathematics, Self-Avoiding Walk.
EXAMPLE
a(7) = 1 because there is only 1 self-trapping walk with 7 steps: (0,0)(1,0)(1,1)(1,2)(0,2)(-1,2)(-1,1)(0,1); a(8) = 2 because there are 2 self-trapping walks with 8 steps: (0,0)(1,0)(2,0)(2,1)(2,2)(1,2)(0,2)(0,1)(1,1) and (0,0)(1,0)(1,1)(2,1)(3,1)(3,0)(3,-1)(2,-1)(2,0).
PROG
(Fortran) c Program provided at given link.
CROSSREFS
KEYWORD
more,nonn,walk,changed
AUTHOR
Hugo Pfoertner, Nov 07 2002
EXTENSIONS
a(26)-a(28) from Alois P. Heinz, Jun 16 2011
a(29)-a(34) from Bert Dobbelaere, Jan 03 2019
STATUS
approved