Nine halls, a turtle that arrived late, and Yang Hui’s square of four
Book VI · East Asia
Scene Around the first century AD a Chinese text gives the number sequence for the nine rooms of a ritual hall; the name “Lo Shu” and the turtle are added much later.
Place the numbers 1 to 9 on the nine squares so that every row, every column and both diagonals have the same sum. Tap a tile and then a square, or drag it across. The pills beside and below the square show the sums; they turn green as soon as they are right. After that Yang Hui’s square of four is waiting.
The Lo Shu
The numbers 1 to 9, each exactly once: all three rows, all three columns and both diagonals should make 15. The total is 45, divided by three rows: 15.
Tap a tile and then a square, or drag it. Tap a placed tile to pick it up again.
Seals of this station
Solvedsolve the puzzle
Best effortplace the Lo Shu (3×3) without using a hint
Masterpieceplace the Lo Shu and then Yang Hui’s square (4×4), both without a hint
In the chapter “Mingtang” (Hall of Light) the number sequence 2 9 4 7 5 3 6 1 8 stands in the description of the nine rooms. Read in three rows it gives 2-9-4 / 7-5-3 / 6-1-8: every row, column and diagonal makes 15 (our own calculation). It is the mirror image of today’s usual form 4-9-2 / 3-5-7 / 8-1-6.
The turtle appears only in the old commentary on this passage, not in the main text: the text uses nine rooms after the “pattern of the turtle’s shell” and therefore these numbers. Who the commentator is and when he wrote, we have not checked.
Before it was called “Lo Shu” the square was known, according to Cammann, as the “Nine Halls” (chiu-kung). Only the Chinese “of the Middle Ages and later” called it Lo Shu.
in mediaeval times and later, the Chinese called it the Lo Shu
The name in the 12th century?
A Wikipedia signpost dates the identification with the legendary Lo Shu chart to the 12th century (after Yoke 2008 and Cammann 1960). We have not checked this against Yoke himself; Cammann 1960 says only “in medieval times and later”.
The identification of the 3×3 magic square to the legendary Luoshu chart was only made in the 12th century
Not ancient
Cammann holds that the traditions of a magic square of great antiquity in China are spurious. He believes the Chinese did, however, invent it first (“apparently”). So “over 4000 years old” is a legend.
Chinese traditions of a magic square of great antiquity are spurious
Yang Hui, 1275
Larger magic squares survive in China only with Yang Hui, in 1275. He shows one of order 3, two of order 4 and more up to order 10, but does not call them “magic”; he calls them “number diagrams”.
did not even describe the methods of constructing them
Borrowed?
According to Cammann his two squares of four are variations of one already known in the Arabic world, printed around 990 in the encyclopaedia of the Brethren of Purity. Cammann therefore thinks they were probably borrowed.
both of which were variations on one already known long before in the Arabic world, having been published in the encyclopaedia of the Brethren of Purity
Our calculation
Our own calculation, not from a source: there are exactly 8 Lo Shu squares, all from one by turning and mirroring; the 5 is always in the middle, the even numbers in the corners. On the 4×4 grid there are 7,040 magic squares (880 up to turning and mirroring). The four given squares (2, 16, 13 and 11) leave only Yang Hui’s square. We read the numbers of the square ourselves from the MacTutor illustration: 2 16 13 3 / 11 5 8 10 / 7 9 12 6 / 14 4 1 15.