For n = 5, the following is an example solution in an equivalence class of maximum size. The second square shows the effect of swapping the two diagonals and renumbering so that the main diagonal is still in ascending order.
0 . . . . . . . . 1 0 . . . . . . . . 1
. 1 . . . . . . 0 . . 1 . . . . . . 0 .
. . 2 . . . . 3 . . . . 2 . . . . 3 . .
. . . 3 . . 2 . . . . . . 3 . . 2 . . .
. . . . 4 6 . . . . . . . . 4 9 . . . .
. . . . 7 5 . . . . . . . . 6 5 . . . .
. . . 5 . . 6 . . . . . . 4 . . 6 . . .
. . 8 . . . . 7 . . . . 5 . . . . 7 . .
. 9 . . . . . . 8 . . 7 . . . . . . 8 .
4 . . . . . . . . 9 8 . . . . . . . . 9
(End)
|