A335816 Squares visited by a chess king moving on a square-spiral numbered board where the king moves to the adjacent unvisited square containing the spiral number with the fewest divisors. In case of a tie it chooses the square with the lowest spiral number.
1, 2, 3, 11, 29, 13, 31, 59, 33, 61, 97, 139, 191, 251, 193, 141, 142, 143, 101, 65, 37, 17, 5, 19, 7, 23, 47, 79, 49, 25, 9, 8, 6, 4, 14, 15, 34, 35, 62, 63, 98, 99, 64, 66, 67, 103, 149, 201, 263, 331, 409, 493, 587, 586, 687, 797, 689, 589, 691, 591, 499, 593, 501
Offset: 1
Examples
The board is numbered with the square spiral: . 17--16--15--14--13 . | | . 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(1) = 1, the starting square for the king. a(2) = 2. The eight unvisited squares around a(1) the king can move to are numbered 2,3,4,5,6,7,8,9. Of these 2,3,5,7 have the minimum two divisors, and of those 2 is the smallest. a(4) = 11. The six unvisited squares around a(3) = 3 the king can move to are numbered 4,11,12,13,14,15. Of these 11 and 13 have the minimum two divisors, and of those 11 is the smallest.
Links
- Scott R. Shannon, Table of n, a(n) for n = 1..412
- Scott R. Shannon, Image showing the 411 steps of the king's path. A green dot marks the starting 1 square and a red dot the final square with number 760. The red dot is surrounded by eight blue dots to show the occupied neighboring squares. A yellow dots marks the smallest unvisited square with number 16.
Comments