Water Reflection Magic Squares

Plate Representations
Generator for Any Order
Generator
Order n Variation no.
Variation no.: for the same order and digits there are many different magic squares. Each number 1, 2, 3, … gives another one; the same number always gives the same squares, so you can come back to them.
Digit families
Generate makes every one of these families for the chosen order, and the Index lists them all: magic squares wherever they exist, otherwise semi-magic squares (equal rows and columns).
Own digits any of 0, 1, 2, 3, 5, 8 · 2 and 5 always together (2 ↔ 5 in water)
Export downloads hold every possibility of the chosen order (order 3: every magic square)
How the squares are built

Every entry is a chain of digit groups. Each group comes from a layer: an n×n array of symbols in which every row, every column and both diagonals contain exactly the same symbols. Writing each symbol as a fixed group of allowed digits and joining the groups gives n² different numbers whose rows, columns and diagonals all have the same sum, whatever digits are chosen.

Seen in water the rows come in reverse order and 2 ↔ 5. This only rewrites each symbol with other digits, so the water reflection is again a magic square. For the same reason the digit families of one generation are digit substitutions of each other (for example 1 → 8, or 0 → 2 and 1 → 5), as in the papers.

Layers used: orders prime to 6 (5, 7, 11, 13, 17, 19, 23, 25, …) take cyclic Latin squares, and the squares are pandiagonal; orders 4, 8, 9, 16, 27, 32 take finite fields; orders such as 20 = 4 × 5 or 28 = 4 × 7 take products; the remaining orders (10, 12, 14, 15, 18, 21, 22, 24, …) take a smaller order in s × s blocks, the block layers being found by computer search. Orders 3 and 6 cannot be made fully magic this way for all digits. Order 6 therefore gets semi-magic squares (rows and columns), found by computer search. Order 3 is taken from a complete computer search: with entries of up to 4 digits, water-reflection magic squares of order 3 exist only for (0,1,3,8), (2,3,5,8), (0,2,3,5,8), (1,2,3,5,8) and (0,1,2,3,5,8); the other digit families get semi-magic squares from two orthogonal Latin squares of order 3, as in the papers.

Index
Each plate carries the original on one side and its water reflection on the other
Current Section

Faces & Water Flips

Showing Now

Controls

Play speed1.0×
Plate size230
Ripple strength5
Line thickness1.0
Line colour
Digit style
Original colour
Reflection colour
Digit colour
Drag the plate to rotate it by hand.

The Three Pairs

Edit the original squares of this set (reflections are derived automatically)

References

Based on the author's following research works:
  1. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Orders 3 to 6, Zenodo, January 07, 2025, pp. 1-93, https://doi.org/10.5281/zenodo.14607070.
  2. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Orders 7 to 10, Zenodo, January 07, 2025, pp. 1-171, https://doi.org/10.5281/zenodo.14607071.
  3. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Orders 11 to 13, Zenodo, January 15, 2025, pp. 1-146, https://doi.org/10.5281/zenodo.14649320.
  4. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Orders 14 to 16, Zenodo, January 15, 2024, pp. 1-140, https://doi.org/10.5281/zenodo.14649519.
  5. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Orders 17 to 20, Zenodo, January 17, 2025, pp. 1-86, https://doi.org/10.5281/zenodo.14676293.
  6. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Orders 21 to 23, Zenodo, January 20, 2025, pp. 1-83, https://doi.org/10.5281/zenodo.14688709.
  7. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Order 24, Zenodo, January 20, 2025, pp. 1-150, https://doi.org/10.5281/zenodo.14700325.
  8. Inder J. Taneja, Upside-Down, Mirror Looking and Water Reflection Magic Squares: Order 25, Zenodo, January 21, 2025, pp. 1-79, https://doi.org/10.5281/zenodo.14715162.
  9. Inder J. Taneja, Online generator: Water-Reflection Magic Squares Generator