Concept

Magic Square

A grid of distinct numbers whose every row, column, and main diagonal sums to the same constant — a mathematical curiosity that Renaissance magic read as a planetary seal.

← Encyclopedia

A magic square is a square grid of numbers arranged so that every row, every column, and both main diagonals add to one and the same total — the so-called magic constant. The smallest non-trivial case fills a three-by-three grid with the digits one through nine, each line summing to fifteen. Larger orders admit vast numbers of distinct solutions, and the construction of such squares is a genuine branch of recreational and combinatorial mathematics, independent of any use ever made of them.

The object is very old and travels widely. The earliest known example is the Chinese Luoshu, the three-by-three arrangement that Chinese tradition tied to markings on the shell of a turtle from the Luo River and wove into cosmological and divinatory schemes. Squares of higher order are worked out in Arabic mathematics from around the ninth and tenth centuries and pass through Islamic and Indian learning into medieval Europe. By the Renaissance they had become both serious mathematics — Albrecht Dürer set a four-by-four square into his engraving Melencolia I, its bottom row recording the date 1514 — and material for magic.

That magical use was systematized in the early sixteenth century. Heinrich Cornelius Agrippa, in De occulta philosophia, set out seven squares of ascending order and assigned each to one of the seven classical planets: Saturn the three-by-three, Jupiter the four-by-four, and so on up to the Moon. The Hebrew term for these planetary tables is kamea. Practitioners of astral and ceremonial magic held that engraving the appropriate square on a metal corresponding to its planet, at an auspicious hour, would draw down that planet’s virtue, so the figures served as talismans against illness or for favour. The claim is theirs; the squares themselves are only arithmetic.

A different figure is often filed alongside these, though it is not numerical at all. The Sator square — a five-by-five grid of the Latin words SATOR AREPO TENET OPERA ROTAS, reading the same across, down, and in reverse — is a word square, a palindrome rather than a sum. Examples survive scratched into walls at Pompeii and so predate 79 CE, and it recurs for centuries in Christian and folk-protective contexts. Its meaning is disputed: arepo is otherwise unattested, and proposed readings range from a banal sentence about a sower to elaborate cryptographic and Christian reconstructions, none of them secure.

What the various squares share is a habit of mind rather than a single doctrine. A configuration that is perfectly balanced, that returns the same answer however it is read, looks like order made visible — and across several cultures that appearance of hidden order was taken as a sign of power, or at least of meaning. Whether the arrangement carries any force beyond its symmetry is exactly the point at which mathematics and magic part company.

Related: Numerology · Renaissance Hermetism