Magic squares are rather old. According to legend the first known magic square was discovered by Emporor Yu in China about 2200 B.C. When he was walking on the banks of the Loh river, he saw a mystical turtle with some dots within squares on its shell.
The very first textual reference can be found, however, in the writings of Zhuang Zi (369-286 B.C.). In this representation, the odd numbers are represented by white dots (Yang symbols) and represent the sky, while the even numbers are shown as black dots (the Yin symbols), the symbol of the Earth.
8 | 1 | 6 |
3 | 5 | 7 |
4 | 9 | 2 |
The next magic square is found in the the handwriting 4801 of Ayasofya and dates back to the 13th century. It documents that magic squares in the Arab world were widespread before they found their way to Europe. You will find a lot of magic squares in the centuries from 950 until 1300.
22 | 47 | 16 | 41 | 10 | 35 | 4 |
5 | 23 | 48 | 17 | 42 | 11 | 29 |
30 | 6 | 24 | 49 | 18 | 36 | 12 |
13 | 31 | 7 | 25 | 43 | 19 | 37 |
38 | 14 | 32 | 1 | 26 | 44 | 20 |
21 | 39 | 8 | 33 | 2 | 27 | 45 |
46 | 15 | 40 | 9 | 34 | 3 | 28 |
Another famous historical magic square is by Albrecht Duerer, who was a German painter, engraver and woodcut designer. The square was incorporated into his famous engraving Melancholia. The bottom row shows the year of creation 1514 in the center cells.
16 | 3 | 2 | 13 |
5 | 10 | 11 | 8 |
9 | 6 | 7 | 12 |
4 | 15 | 14 | 1 |