Longest uncrossed knight's path

﻿
Longest uncrossed knight's path

The longest uncrossed (or nonintersecting) knight's path is a mathematical problem involving a knight on a standard 8 &times; 8 chessboard or, more generally, on a square "n" &times; "n" board. The problem is to find the longest path the knight can take on the given board, such that the path does not intersect itself. A further distinction can be made between a closed path, which ends on the same field as where it begins, and an open path, which ends on a different field from where it begins.

 A closed path for "n" = 7of length 24. An open path for "n" = 8of length 35.

Solutions are known only up to "n" = 8. The length of the longest path, whether open or closed (OEIS sequence ), for "n" = 3&hellip;8 is::2, 5, 10, 17, 24, 35.These results can readily be reproduced by a simple backtracking computer program. However, the running time for such a program becomes prohibitively long for "n" &ge; 9.

The problem can be further generalized to rectangular "n" &times; "m" boards, or even to boards in the shape of any polyomino. Other standard chess pieces than the knight are less interesting, but fairy chess pieces like camel, giraffe and zebra lead to problems of comparable complexity.

ee also

* A knight's tour is a self-intersecting knight's path visiting all fields of the board.
* TwixT, a board game based on uncrossed knight's paths.

References

* L. D. Yarbrough, Uncrossed knight's tours, "Journal of Recreational Mathematics" 1 (1969), no. 3, pp. 140-142.