OFFSET
1,15
COMMENTS
Accelerating ant walks can only arrive back at the starting place if the number of moves is -1 or 0 mod(8).
EXAMPLE
a(7) = 1 because of the following solution:
655555XXX
6XXXX4XXX
6XXXX4XXX
6XXXX4XXX
6XXXX4333
6XXXXXXX2
777777712
where the ant starts at the "1" and moves right 1 space, up 2 spaces and so on...
CROSSREFS
KEYWORD
nice,nonn
AUTHOR
Gordon Hamilton, Jan 27 2005
STATUS
approved