OFFSET
1,3
COMMENTS
A 5 X 5 board, for example, is numbered with the square spiral:
.
21--22--23--24--25
|
20 7---8---9--10
| | |
19 6 1---2 11
| | | |
18 5---4---3 12
| |
17--16--15--14--13
.
a(n) stays constant at 2084 for (2n-1) >= 57 since 2084 is also the last square visited by knight moves on a spirally numbered doubly infinite board, moving to the lowest available unvisited square at each step.
CROSSREFS
KEYWORD
nonn
AUTHOR
Sangeet Paul, May 19 2019
STATUS
approved