Mathematics

What other operations can be performed on a magic square to yield another magic square?

Number Play

4 Likes

Answer

Several operations turn a magic square into another magic square:

  • Adding the same number to every entry — if each entry is increased by a number k, every line gains 3k, so the magic sum increases by 3k.
  • Subtracting the same number from every entry — the reverse of the above; the magic sum decreases by 3k.
  • Multiplying every entry by the same number — if each entry is multiplied by k, every line total is multiplied by k, so the magic sum is also multiplied by k.
  • Dividing every entry by the same non-zero number — every line total is divided by that number.
  • Rotating the grid by 90°, 180° or 270°.
  • Reflecting (flipping) the grid across a row, a column or a diagonal.

More generally, any of these can be combined (for example, double every number and then add 1), and the result is still a magic square.

Hence, adding or subtracting a fixed number to every entry, multiplying or non-zero division on every entry by a fixed number, and rotating or reflecting the grid all produce another magic square.

Answered By

3 Likes


Related Questions