Amulet Atlas

signsThe number squareوفق الأعداد

said wafq al-aʿdād, 'harmonious disposition of the numbers'; in Hebrew, kamea; in Chinese, Luoshu

also: magic square · wafq · kamea · Luo Shu · Nine Halls · Chautisa Yantra · planetary square · bhadraganita

signChinaSouth AsiaMesopotamiaIranThe MaghrebIberiaWest AfricaWestern EuropeJapanChinaIndiaIraqIranAlgeriaEgyptNigeriaSpainItalyGermanyPolandJapan

A grid of numbers in which every row, every column and both diagonals add to the same total. The order is the number of cells along a side; the total is the magic constant. Written on paper, engraved on metal, sewn into a shirt, cut into a temple wall. The 3×3 and the 4×4 do most of the amulet work.

cited

When

190 BCE to now still carried cited

PeriodWestern Han China to the present
How the date is knowntextual — a dated text describes it
NoteStart from the 3×3 square known to Chinese mathematicians as early as 190 BCE in the Shushu jiyi, used for divination and astrology. The amulet uses are later and separately dated: India c. 966 CE for childbirth, the Islamic world from the 13th century for occult purposes.

Years are stored astronomically — 1 CE is 1, 1 BCE is 0, 500 BCE is −499 — and printed the way a reader says them. How these dates are made.

The thing itself

FormPlaque or tablet
Made ofPaper · Parchment and vellum · Silver · Copper and bronze · Cloth
GoesAt the neck · On the upper arm · In a pocket or a bag · Sewn into clothing · On a wall
Made byin Islamic practice, specialists working from manuals such as Shams al-Ma'arif; in Jain practice, hymns teach how to make them

What its carriers say it stops

Reported, attributed, not tested here. Each row below is somebody's claim, with their name on it.

The story

This one has to be told four times, because four traditions arrived at the same grid and gave four accounts of what it was for.

China has it first. The 3×3 square was known to Chinese mathematicians as early as 190 BCE, in a text called Shushu jiyi, and is given explicitly by the first century CE in the Da Dai Liji. That earliest use is for divination and astrology. Chinese mathematicians called it the Nine Halls; the identification with the legendary Luoshu chart — the pattern of dots on a turtle's shell that rose out of the river Lo while King Yu was channelling a flood — was only made in the twelfth century, after which it was called the Luoshu square.

India's first uses are medical and practical. The 3×3 square first appears in the Gargasamhita, recommended to pacify the nine planets, the navagraha; the oldest version of that text is from 100 CE, though the planetary passage cannot be earlier than 400 CE. The first dateable 3×3 in India is in a medical text, Vrnda's Siddhayog of about 966 CE, prescribed to women in labour for an easy delivery. The oldest dateable fourth-order square in the world is in Varahamihira's Brhat Samhita of about 550 CE, and it is not a charm at all: it is a recipe grid for making perfumes from sixteen substances, with no magical properties attributed. A 4×4 square was inscribed on the wall of the Parshvanath temple at Khajuraho around the twelfth century, and is called the Chautisa Yantra after its magic sum of 34. Narayana Pandit, writing in 1356, says the point of studying these squares is to construct yantra, to deflate bad mathematicians, and for the pleasure of good ones.

The Islamic world produced the mathematics and then the amulets. The first dateable 3×3 in Arabic appears in Jābir ibn Hayyān's Kitab al-mawazin al-Saghir, tied to alchemy; the Arabic name, wafq al-aʿdād, means the harmonious disposition of the numbers, and the earliest treatises are purely mathematical. Squares of orders 3 to 9 appear in the Baghdad encyclopedia Rasa'il Ikhwan al-Safa of about 983. From the thirteenth century the squares were increasingly put to occult purposes: the Algerian Ahmad al-Buni, around 1225, attributed mystical properties to them in Shams al-Ma'arif and described how to construct them. The 3×3 was described as a child-bearing charm from its first literary appearances in Jābir and in al-Ghazālī, and it kept that role in the tradition of the planetary tables. The pairing of seven squares with the seven heavenly bodies first appears in Ibn Zarkali's Kitāb tadbīrāt al-kawākib, in eleventh-century al-Andalus, and survives in Greek, Arabic and Latin versions. In Islamic talismanic practice the 3×3 with the constant 15 was often associated with the four archangels; 6×6 squares are attested by the late tenth century but did not enter the magical vocabulary until the thirteenth. Muhammad ibn Muhammad al-Kishnawi wrote on their theory in eighteenth-century West Africa.

Europe got them last, as occult objects, and had to rediscover the mathematics. They came through Spain and Italy; Ibn Zarkali's work was translated as Libro de Astromagia in the 1280s under Alfonso X. The magic square of three was discussed numerologically by Abraham ibn Ezra of Toledo in the early twelfth century, which influenced later Kabbalists. Around 1315 Manuel Moschopoulos wrote a mathematical treatise that left the mysticism out. Agrippa gave the planetary squares in De occulta philosophia in 1531; Paracelsus reproduced them in garbled form in 1567; Dürer put a 4×4 into Melencolia I in 1514. By the eighteenth century the earlier mysticism had gone and the subject was recreational mathematics.

Inference — the same grid carries a Chinese divination, an Indian childbirth charm, an Islamic archangel invocation and a Renaissance planetary correspondence. Transmission is documented for some of those links and not for others; where it is not documented, this record says so rather than assuming.

cited

What this is near

carried-byKameathe Jewish amulet that is a square of letters and numbers, from the tradition Abraham ibn Ezra fed intocarried-byTa'wizthe folded Islamic amulet a wafq is most often written oncarried-byTalismanic shirtthe garment magic squares get painted onto, alongside Qur'anic textcarried-byYantra plateNarayana Pandit gives constructing yantra as one reason to study these squaresparallelThe word that reads both waysthe other square on a charm — letters instead of numbers, and its own separate historykinThe namein Islamic practice the square is regularly paired with the names of God and of the archangelstraditionIslamic talismanic craftthe tradition that turned the mathematics into amulets, from the 13th century onwardtraditionPractical Kabbalahthe tradition that took the 3×3 from Abraham ibn Ezra's numerologymaterialPaperwhat most of them are written on, which is why almost none survive from before the modern periodpracticeInscribingthe practice — the square only works, in every one of these traditions, once somebody writes it out

What names this one

Each in its own words, from its own page.

motifKameathe grid the Western occult tradition borrowed this word for, after Agrippa's planetary squares of 1531motifTalismanic shirtthe wafq that appears among the inscriptions, and the reason numbers sit beside scripture on these shirtsmotifTa'wizthe other thing written inside these — the wafq, whose 3×3 form the tradition tied to the four archangelsmotifYantra platethe other family of drawn signs that runs on arrangement rather than imagemotifIslamic talismanic craftthe wafq — the mathematics this tradition turned into an amulet from the 12th century, and tied to the four archangelskinThe nameregularly paired with the names in Islamic practice, and a different kind of writingparallelThe word that reads both waysthe other square on a charm — numbers instead of letters, and a different history entirelymotifabracadabrathe other arrangement-as-claim — letters or numbers laid out so the grid does the workmotifyantrathe numbered cousin — another figure whose power is claimed to sit in its arrangement

Where this came from

Elsewhere

Record updated 2026-09-16. This record as JSON. Every field carries its own provenance; the tier chips above say which.

Pass it on