A307422 End squares for a trapped knight moving on a diagonally numbered 2D board where the knight starts from square n.
1378, 66, 561, 406, 2701, -1, 78, 15, 561, 78, 120, 1378, 36, 36, 435, 66, 2628, 1275, 78, 378, 190, 1326, 136, 300, 15, 325, 3570, -1, 171, 231, 780, 595, 21, 28, 561, 276, 120, 28, 28, 496, 435, -1, 153, 171, 2415, 28, 496, 300, 2850, 55, 15, 465, 1431
Offset: 1
Keywords
Examples
a(1) = 1378 (see A316588). The table below shows the starting square to end square mapping - either a single square or a quadratic equation for all valid values, and if the end square(s) are on the left edge of the board. For all quadratics, t >= 1. This is from data for all starting squares up to 10 million. -------------------------------+----------------------------+----- Start | End | Left square | square | Edge -------------------------------+----------------------------+----- 42 | NA (unbounded) | - 8*t^2-2*t = u(t) | NA (unbounded) | - -------------------------------+----------------------------+----- 2228 | 5299 | No 3569 | 9487 | No 27256 | 50254 | No 187573 | 208320 | No 191268, 200657 | 486688 | No -------------------------------+----------------------------+----- 9*t^2/2+ 589*t/2+4771 = n(t) | 4772 | No 9*t^2/2+1813*t/2+45735 | 45736 | No 9*t^2/2+3745*t/2+194995 | 194996 | No -------------------------------+----------------------------+----- 72*t^2+222*t+170 = ps(t) | 72*t^2+738*t+1891 = pe(t) | Yes 72*t^2+270*t+252 | 72*t^2+786*t+2145 | Yes 72*t^2+318*t+350 | 72*t^2+666*t+1540 | Yes -------------------------------+----------------------------+----- All other | >= 15, of form | Yes squares | t^2/2+9*t/2+10 | -------------------------------+----------------------------+----- For 'All other squares' about 88% of all paths end on one of the squares 28, 210, 231, 3655, 69751, 96580, 208981. Note that some left-edge squares, for example, 14535, currently have no known starting square which leads to a path ending on them.
Links
- Scott R. Shannon, Path for starting square 780. This is starting square u(10)=780 and thus an unbounded knight path. This shows how the path forms a repetitive and impenetrable wall of visited points as it moves outwards. Note how the position of the starting square (shown in green) is such that it leaves the path's repetitive pattern unaffected as it moves outward from the origin past the starting square. This is only true for every 4th starting square down the left-hand edge of the board.
- Scott R. Shannon, Path for starting square 42. This is the only starting square not given by u(t) leading to an unbounded knight path. Note how the position of the starting square is such that it does not interrupt the repetitive pattern of the outward moving knight path, although the resulting pattern is slightly different from a(10) above, and from all other similar unbounded paths.
- Scott R. Shannon, Path for start squareing 4011. This path ends at 231 - one of the 4 dominant end squares. Square 4011 and all similar starting squares that lead to paths that move to the top edge of the board will follow a similar pattern and all end on one of the squares 28, 210, 231 or 3655.
- Scott R. Shannon, Path for starting square 8. This square leads to the first path to be trapped on square 15 - the smallest possible end square.
- Scott R. Shannon, Path for start square 3080. This is start value = ps(5) = 3080 and has an end square pe(5) = 7381 (shown in red, with blocked squares in blue). Note how the repetitive pattern is broken when the path crosses the starting square as it moves away from the origin, causing the path to become more randomized and eventually trapped.
- Scott R. Shannon, Path for starting square 2228. This path ends on square 5299 - the first of the five singular non-left-edge ending squares. As the starting square is closer to the origin than the eventual end square, and no other starting points farther out were found that end on 5299, it is probable that the 2228 to 5299 end square path is unique.
- Scott R. Shannon, Path for starting square 8953. This is n(12) = 8953, ending on square 4772. All paths that are trapped on square 4772 will have starting squares along the straight line seen in this image, pointing down and right and passing next to the end square itself. The other two end squares 45736 and 194996 show similar behavior.
- N. J. A. Sloane and Brady Haran, The Trapped Knight, Numberphile video (2019)
Comments