login
A389755
Number of (undirected) Hamiltonian paths on the first n cells of the 5 X ceiling(n/5) knight graph.
4
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 95, 144, 82, 16, 125, 1188, 4292, 864, 416, 1030, 28229, 40770, 18784, 3858, 38255, 490809, 2422436, 622868, 274910, 781472, 19903840, 34518608, 18061054, 3321476, 21614495, 275004291, 1129158488, 264895640, 105735266, 308434443, 8657614329, 16039377654
OFFSET
1,14
COMMENTS
If n is not a multiple of 5, the rightmost column has only n mod 5 rows (see example).
REFERENCES
Donald E. Knuth, Hamiltonian paths and cycles, Prefascicle 8a of The Art of Computer Programming (work in progress, 2025).
FORMULA
a(5n) = A083386(n).
EXAMPLE
For n=14 the a(14)=4 solutions are
5 14 1
2 9 4
13 6 11
10 3 8
7 12 ;
5 12 1
2 9 4
13 6 11
10 3 8
7 14 ;
10 1 14
13 6 11
2 9 4
5 12 7
8 3 ;
1 12 5
4 9 2
13 6 11
10 3 8
7 14 .
CROSSREFS
KEYWORD
nonn
AUTHOR
Don Knuth, Oct 15 2025
STATUS
approved