Magic squares have fascinated people for thousands of years. They consist of a set of whole numbers arranged in a square so that the sum of the numbers is the same in each row, in each column, and along each diagonal.
Some magic squares have special properties, such as using only consecutive numbers. In ancient China, a three-by-three square that uses all of the digits from 1 to 9 was said to bring good luck. The numbers add up to 15 in all rows, columns, and diagonals.