OFFSET
11,1
COMMENTS
If n is not a multiple of 3, the rightmost column has only 2n mod 3 rows (see example).
REFERENCES
Donald E. Knuth, Hamiltonian paths and cycles, Prefascicle 8a of The Art of Computer Programming (work in progress, 2025).
LINKS
Don Knuth, Table of n, a(n) for n = 11..150
Don Knuth, CWEB program with input parameter board,100,3,0,0,5,0,0.gb [the graph "board(50, 6, 0, 0, 5, 0, 0)" generated by the Stanford GraphBase.
FORMULA
a(3n) = A070030(n).
EXAMPLE
For n=11 the a(11)=4 solutions are
1 4 7 10 17 20 15 12
6 9 2 21 14 11 18
3 22 5 8 19 16 13 ;
1 4 7 14 11 20 9 18
6 15 2 21 8 17 12
3 22 5 16 13 10 19 ;
1 4 21 12 15 6 17 8
20 11 2 5 18 9 14
3 22 19 10 13 16 7 ;
1 4 21 18 9 6 11 14
20 17 2 5 12 15 8
3 22 19 16 7 10 13 .
CROSSREFS
KEYWORD
nonn
AUTHOR
Don Knuth, May 04 2025
STATUS
approved
