The Distribution of the Knight

Dr Colin Rose

KnightTour Mathematica code

The KnightTour Mathematica notebook is provided below — the code finds ALL solutions to a knight's tour problem for a given starting point (or starting sequence) on the board. It also allows one to specify an end point (or end sequence). Further, a function is provided to easily plot the tours.