magic square
A
magic square
is a set of integers (often 1, 2, ... ,
n
2
) arranged in a square in such away that each row, each column (and often the two diagonals as well) sum to the same number.
For example:
is a 3 × 3 magic square.