A328894 a(n) is the number of steps before being trapped for a knight starting on square n on a single-digit square-spiral numbered board and where the knight moves to the smallest numbered unvisited square; the minimum distance from the origin is used if the square numbers are equal; the smallest spiral number ordering is used if the distances are equal.
1069, 884, 995, 884, 885, 988, 885, 943, 549, 1070, 942, 548, 881, 951, 987, 886, 661, 601, 1123, 1313, 1034, 1070, 1101, 1070, 1930, 943, 655, 882, 1930, 943, 1471, 992, 583, 884, 806, 704, 1062, 1098, 1096, 1129, 1174, 723, 438, 1102, 854
Offset: 1
Keywords
Examples
a(1) = 1069. See A326918. The squares are numbered using single digits of the spiral number ordering as: . . 2---2---2---1---2---0---2 2 | | | 3 1---2---1---1---1 9 3 | | | | | 2 3 4---3---2 0 1 1 | | | | | | | 4 1 5 0---1 1 8 3 | | | | | | 2 4 6---7---8---9 1 0 | | | | 5 1---5---1---6---1---7 3 | | 2---6---2---7---2---8---2---9 If the knight has a choice of two or more squares in this spiral with the same number which also have the same distance from the origin, then the square with the minimum standard spiral number, as shown in A316667, is chosen.
Links
- Scott R. Shannon, Table of n, a(n) for n = 1..20000
- Eric Angelini, Kneil's Knumberphile Knight, Cinquante signes, May 04 2019.
- Eric Angelini, Kneil's Knumberphile Knight, Cinquante signes, May 04 2019. [Cached copy, pdf file, with permission]
- Scott R. Shannon, Path for starting square n = 435525. This is trapped after 2865 steps, the longest found path. In this and other images a green square marks the starting square, an orange square the 0-numbered origin square, a red square the ending square, and blue squares mark the eight blocking squares for the end square.
- Scott R. Shannon, Path for starting square n = 42329. This is trapped after 109 steps, the shortest found path. This is an example of a path starting and being trapped without approaching the origin. Note that the start square also acts as one of the eight blocking squares.
- Scott R. Shannon, Path for starting square n = 31223. This is trapped on the square with standard spiral number 47863, the largest found value. The path also starts and ends without approaching the origin.
- Scott R. Shannon, Path for starting square n = 138. This is trapped on the square with standard spiral number 4, the smallest value found.
- N. J. A. Sloane and Brady Haran, The Trapped Knight, Numberphile video (2019).
Comments