What is the Tower of Hanoi? While this official name might sound mysterious, if you’re an avid consumer of adventure media and role-playing games or just simply a curious former child, it’s likely that you’ve seen or even played this game without knowing what it’s called.
Tower of Hanoi is a mathematical puzzle involving a platform with three pillars and a series of discs of varying sizes arranged neatly from biggest at the bottom to smallest at the top. The objective is usually to move all the discs from the leftmost pillar to the rightmost pillar following a set of strict rules.
A simple animation showing how to solve the puzzle. Image via Geeks for Geeks.
The rules are: only one disc might be moved at a time, only smaller discs can be placed on top of larger discs, and only the disc on top of a stack can be moved. While, in theory, there could be any number of discs — the more discs there are, the longer the solution will take — children’s toy versions often feature from seven to nine discs that are differently colored.
At this point, you might be tempted to ask: what does this have anything to do with Hanoi, or Vietnam, for that matter? To answer this, one needs to trace back to the Tower of Hanoi’s origin, which many attribute to one Édouard Lucas, a mathematician living in 19th-century France with a fondness for puzzles.
Édouard Lucas (1842–1891)
It’s believed that Lucas invented the game, which became commercially available in 1883. “The Tower of Hanoï - Authentic Brain teaser of the Anamites - A game brought back from Tonkin,” the promotional material for the puzzle reads. The marketing credits the inventor as “Professor N. Claus (of Siam), Mandarin of the College of Li-Sou-Stian.” Read the rest of the text on the packaging below:
This game was found, for the first time, in the writings of the illustrious Mandarin FER-FER-TAM-TAM, which are being published, in the near future, by order of the government of China.
The TOWER OF HANOI is composed of levels, decreasing in size, variable in number, that we have represented by eight disks of wood, pierced at their centers. In Japan, in China, and at Tonkin, they are made of porcelain.
The game consists of demolishing the tower level by level, and reconstructing it in a neighboring place, conforming to the rules given.
Amusing and instructive, easy to learn and to play in town, in the country, or on a voyage, it has for its aim the popularization of science, like all the other curious and novel games of professor N. CLAUS (OF SIAM).
According to an old Indian legend, the Brahmins have been following each other for a very long time on the steps of the alter in the Temple of Bernares, carrying out the moving of the Sacred Tower of Brahma with sixty-four levels in fine gold, trimmed with diamonds from Golconde. When all is finished, the Tower and the Brahmins will fall, and that will be the end of the world!
The name N. Claus (de Siam), of course, is just an anagram for Lucas d’Amiens, with Amiens being the French hometown of Édouard Lucas; and Li-Sou-Stian is an anagram for Saint Louis, the school where he taught. The rest of the promotional text seems to be an exercise in passionate Orientalism, where the author tries to cram in as many eastern references as possible — perhaps in a bid to capitalize on the exoticism of a barely explored Far East in the 1880s.
The illustrations on the original packaging of the Tower of Hanoi game by Lucas. Images via The Puzzle Museum.
Considering the hodgepodge of Asian nations mentioned, maybe it was purely a coincidence that Hanoi made the official name, even though the only scenario where the Tower of Hanoi is related to Vietnam would be if the discs themselves are made of bún chả patties. In Vietnam, most toy vendors just refer to it as “đồ chơi tháp cầu vồng.”
Regardless of The Tower of Hanoi’s origins, its popularity has never waned, both as a children’s toy and as a recreational mathematical brainteaser. The puzzle has appeared in a number of pop culture products, including TV series like Doctor Who and Survivor, and RPG game titles like Mass Effect, Dragon Age, and Genshin Impact.