Magic squares

Revision as of 22:53, 30 June 2021 by Sap1248 (talk | contribs) (minor definition change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Definition

A magic square is a $n \times n$ grid filled in with numbers where the sum of the rows are the same, the sum of the columns, and the sum of the main diagonals are the same. $n$ is the order of the square.

A magic square can be rotated, you can add or subtract a same number to all the numbers, and it can be flipped to produce another valid magic square.

Number of Magic Squares

Order Number of Different Magic Squares
1 1
2 0
3 1
4 880
5 275, 305, 224

Resources

The Zen of Magic Squares, Circles, and Stars by Clifford A. Pickover

This article is a stub. Help us out by expanding it.