OFFSET
1,2
COMMENTS
Many of these sequences (see cross-references) are finite. I've worked this out by hand, but I suspect this sequence is also finite.
The sequence is finite with 156 terms. - Rémy Sigrist, Mar 12 2023
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..156
Rémy Sigrist, PARI program
EXAMPLE
The spiral board begins:
.---.---.--33--32--31
|
17--16--15--14--13 30
| | |
18 5---4---3 12 29
| | | | |
19 6 1---2 11 28
| | | |
20 7---8---9--10 27
| |
21--22--23--24--25--26
a(9) = 9 and a(10) = 22. For a knight on square 9, the smallest unused square which is both coprime to and a knight's move away from 9 is 22.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Jodi Spitz, Mar 09 2023
EXTENSIONS
Data corrected by Rémy Sigrist, Mar 12 2023
STATUS
approved