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