Magic squares
Definition
A magic square is a grid filled in with numbers where the sum of the rows are the same, and the sum of the columns are the same.
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.