Magic Squares of Squares

People have been toying with magic squares for more than 2,000 years—setting themselves increasingly difficult challenges to find arrays of numbers that fit given patterns.

Typically, a magic square consists of a set of distinct integers arranged in the form of a square so that the numbers in each row, column, and diagonal all add up to the same total.