magic square
A magic square is a grid of numbers arranged in such a way that the sum of each row, column, and both main diagonals is the same. This constant sum is known as the magic constant. Magic squares can vary in size, with the smallest being a 1x1 square, which contains just one number.
The most famous magic square is the Lo Shu Square, a 3x3 grid from ancient China. Magic squares have fascinated mathematicians and artists alike, appearing in various cultures and historical periods, often associated with mysticism and puzzles.