OFFSET
1,2
COMMENTS
a(n) > A334322(n)/16.
Does not reduce for repetition (e.g. paths XYXY and XXYY both count for n = 4, even though they are respectively a serial and an interleaved repetition of primitive path XY for n = 2), or for congruence of the resultant endless paths (e.g. paths XXYY and XYYX each count even though their resultant endless paths are congruent). - Charles L. Hohn, May 11 2026
LINKS
Nathan Clisby, Endless self-avoiding walks, arXiv:1302.2796 [cond-mat.stat-mech], 2013.
Code Golf Stack Exchange, Infinite Snake game
EXAMPLE
The a(4) = 7 step patterns of length 4 are
---->---->---->---->, ---->---->---->, ---->----> ,
| |
v v---->
---->---->, ----> ^, ----> , and ----> .
| | | | |
v v----> v----> v
| | |
v v v---->
CROSSREFS
KEYWORD
nonn,walk,more,changed
AUTHOR
Peter Kagey and Arnauld Chevallier, Apr 26 2020
EXTENSIONS
a(11)-a(25) from Charles L. Hohn, May 11 2026
STATUS
approved
