OFFSET
0,2
COMMENTS
Board is numbered with the square spiral:
.
16--15--14--13--12
| |
17 4---3---2 11 .
| | | |
18 5 0---1 10 .
| | |
19 6---7---8---9 .
|
20--21--22--23--24--25
.
The sequence is finite: at step 3722, square 7080 is visited, after which there are no unvisited squares within one move.
LINKS
Daniël Karssen, Table of n, a(n) for n = 0..3722
Daniël Karssen, Figure showing the first 46 steps of the sequence
Daniël Karssen, Figure showing the complete sequence
FORMULA
a(n) = A317106(n+1) - 1.
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Daniël Karssen, Jul 24 2018, following a suggestion from N. J. A. Sloane, Jul 15 2018
STATUS
approved