The magic square
Numbers arranged so that every row, column and diagonal has the same sum

Albrecht Dürer — Public domain — Wikimedia Commons
In brief
A magic square is a grid of numbers in which every row, every column and both diagonals add up to the same total. The most famous, the Chinese Lo Shu, arranges the numbers 1 to 9 in a 3 × 3 grid so that every sum is 15. This puzzle has fascinated scholars and artists for centuries.
The story
A Chinese legend tells that in the time of the wise Emperor Yu, a turtle came out of the River Luo bearing on its shell a pattern of dots forming this square. It is described in Chinese texts from the start of the Common Era, then taken up by Indian, Arab and Persian mathematicians, who invented methods for building larger and larger squares.
In Europe the German painter Albrecht Dürer engraved a 4 × 4 magic square in 1514 in his famous print “Melencolia I”: each row adds up to 34, and the two middle cells of the bottom row form the date, 1514. Sudoku is a distant cousin of magic squares.
How it works
In the Lo Shu, 5 is in the centre, even numbers in the corners and odd numbers on the sides. For a 3 × 3 square filled with 1 to 9, the magic sum is always 15, because 1 to 9 add up to 45, shared among three rows. For a 4 × 4 square filled with 1 to 16, it is 34. Magic squares can be built in every size except 2 × 2.
Did you know?
There are exactly 880 different 4 × 4 magic squares, not counting rotations and reflections.
Sources: The museums and institutions mentioned; Encyclopædia Universalis; Encyclopædia Britannica; work by historians of games; texts written for this site.
Mazes
Peg solitaire
Tangram
The 15 puzzle
The Tower of Hanoi
Nim
The crossword
Sudoku