OFFSET
1,2
COMMENTS
A number square contains all numbers from 1 to n^2 without duplicates.
The 2 X 2 subset diagonal sums in these squares are equal, though those sums may differ.
When the single unit 2 X 2 subset is required to have diagonals with equal sums every rectangle within the generated square will have diagonals with equal sums.
Reversible squares are a previously defined entity. They require all symmetrically opposite pairs in each row and column to have the same sum in addition to the diagonal constraints noted above.
It is an embarrassment that no one has enumerated the order 6 magic squares. Richard C. Schroeppel provided the exact count for the order 5 magic squares in 1973 - now more than 40 years ago.
LINKS
Craig Knecht, F1 code and order 3 examples.
Craig Knecht, F1 code for the 48 Order 4 reversible squares.
Craig Knecht, F1 code for the 907,200 order 6 examples.
Craig Knecht, Reversible square.
Harry White, Reversible squares.
EXAMPLE
3 X 3 square where all four 2 X 2 subset diagonals have the same sum, though those sums may differ:
1 3 2 (1 + 9 = 7 + 3) (3 + 8 = 9 + 2)
7 9 8 (7 + 6 = 4 + 9) (9 + 5 = 6 + 8)
4 6 5
CROSSREFS
KEYWORD
nonn
AUTHOR
Craig Knecht, Apr 11 2016
STATUS
approved