login
A389754
Number of (undirected) Hamiltonian paths on the first n cells of the 4 X ceiling(n/4) knight graph.
5
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 8, 0, 16, 40, 0, 0, 20, 144, 82, 0, 269, 1172, 744, 0, 2643, 13711, 6378, 0, 15192, 72803, 31088, 0, 82790, 440955, 189688, 0, 518913, 2921478, 1213112, 0, 3044484, 17084437, 6683852, 0, 16550347, 96400406, 36486328, 0, 90602461, 550731140, 201282470, 0, 492087597, 3080159951
OFFSET
1,11
COMMENTS
If n is not a multiple of 4, the rightmost column has only n mod 4 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(4*n) = A079137(n).
EXAMPLE
For n=11, the a(11)=2 solutions are
1 8 3
4 11 6
7 2 9
10 5 ;
5 8 3
2 11 6
7 4 9
10 1 .
CROSSREFS
KEYWORD
nonn
AUTHOR
Don Knuth, Oct 15 2025
STATUS
approved