A316667 Squares visited by a knight moving on a spirally numbered board always to the lowest available unvisited square.
1, 10, 3, 6, 9, 4, 7, 2, 5, 8, 11, 14, 29, 32, 15, 12, 27, 24, 45, 20, 23, 44, 41, 18, 35, 38, 19, 16, 33, 30, 53, 26, 47, 22, 43, 70, 21, 40, 17, 34, 13, 28, 25, 46, 75, 42, 69, 104, 37, 62, 95, 58, 55, 86, 51, 48, 77, 114, 73, 108, 151, 68, 103, 64, 67, 36
Offset: 1
Links
- Daniël Karssen, Table of n, a(n) for n = 1..2016
- Daniël Karssen, Figure showing the first 60 steps of the sequence
- Daniël Karssen, Figure showing the complete sequence
- Daniël Karssen, MATLAB script to generate the complete sequence
- N. J. A. Sloane and Brady Haran, The Trapped Knight, Numberphile video (2019)
Crossrefs
Programs
-
PARI
A316667(n)=A316328(n-1)+1 \\ M. F. Hasler, Nov 06 2019
Formula
a(n) = A316328(n-1) + 1.
Comments