Card & Tabletop Games Codexery

Tower of Hanoi

Last updated

The Tower of Hanoi is a mathematical puzzle with three rods and disks of different diameters that can slide onto any rod.[1] On one rod, the puzzle's initial configuration has disks arranged from the largest at the bottom to the smallest at the top, creating a shape like a cone.[2] The puzzle requires transferring the complete set of disks to a different rod, with the constraint that a disk can only be placed on top of a larger disk.[3]

Quick Facts

Inventor
Édouard Lucas
Field
Mathematics
Nationality
French
Known for
Tower of Hanoi puzzle
Minimum moves formula
2^n − 1 (where n is the number of disks)

Facts from the source article.

Making and release

Lucas published a booklet in 1889 and included the puzzle in a posthumous volume of his Récréations mathématiques.[4] The accompanying instruction booklet described the game's purported origins in Tonkin and a legend about Brahmins moving a "Sacred Tower of Brahma" of 64 golden disks.[4] The legend claimed that completing the tower would end the world.[4] At one move per second, the 64-disk puzzle would take 585 billion years, about 42 times the universe's estimated age.[5]

Many toy versions have around 7 to 9 disks.[6] The minimum moves for n disks is 2^n − 1.[6] The puzzle appeared as an intelligence test for apes in the 2011 film Rise of the Planet of the Apes under the name "Lucas Tower".[3]

What the cited sources add

The optimal solution for four pegs, called Reve's puzzle, was not verified until 2014 by Bousch.[7] The OEIS entry notes that a(n) is the diameter of the n-Hanoi graph and the largest minimum moves between any two states of the puzzle.[8] The Question Corner states that for four pegs, the optimum strategy for moving n disks is conjectured but not proven.[9] The MathWorld account describes that a Hanoi graph can be constructed whose vertices correspond to legal tower configurations.[3]

According to the MathWorld entry, Lucas created the puzzle in 1883, and it is additionally referred to as the Tower of Brahma puzzle.[3]

References

  1. Wikipedia, "Tower of Hanoi" (CC BY-SA 4.0), which cites: "A000225 - OEIS", oeis.org; Hofstadter, "Metamagical Themas : Questing for the Essence of Mind and Pattern", Basic Books, 1985; Cohn, "A device for demonstrating some elementary properties of integers", The Mathematics Teacher, 1963, p. 84 (we also read that source) en.wikipedia.org
  2. Wikipedia, "Tower of Hanoi" (CC BY-SA 4.0), which cites: Weisstein, "Tower of Hanoi", mathworld.wolfram.com (we also read that source) en.wikipedia.org
  3. Weisstein, "Tower of Hanoi", mathworld.wolfram.com. mathworld.wolfram.com
  4. Wikipedia, "Tower of Hanoi" (CC BY-SA 4.0), which cites: Hinz, "The Tower of Hanoi – Myths and Maths", Springer, 2013-01-31; Stockmeyer, "The Tower of Hanoi: A Bibliography"; de Parville, "Revue des Sciences", Journal des débats, 1883-12-27; Lucas, "Jeux scientifiques pour servir à l'histoire, à l'enseignement et à la pratique du calcul et du dessin", Chambon et Baye, 1889; Lucas, "Récréations mathématiques", Librairie Albert Blanchard, 1979, 1892, p. 58; Stockmeyer, "Tower of Hanoi instructions in English, page 1"; Hinz, "The Tower of Hanoi – Myths and Maths", Springer, 2013-01-31 (original n en.wikipedia.org
  5. Wikipedia, "Tower of Hanoi" (CC BY-SA 4.0), which cites: Moscovich, "1000 playthinks: puzzles, paradoxes, illusions & games", Workman, 2001 (original not read by us) en.wikipedia.org
  6. Wikipedia, "Tower of Hanoi" (CC BY-SA 4.0), which cites: Petković, "Famous Puzzles of Great Mathematicians", AMS Bookstore, 2009, p. 197 (we also read that source) en.wikipedia.org
  7. Wikipedia, "Tower of Hanoi" (CC BY-SA 4.0), which cites: Bousch, "La quatrieme tour de Hanoi", Bull. Belg. Math. Soc. Simon Stevin, 2014, p. 895–912 (original not read by us) en.wikipedia.org
  8. "A000225 - OEIS", oeis.org. oeis.org
  9. "Question Corner -- Generalizing the Towers of Hanoi Problem", math.toronto.edu. math.toronto.edu

Each numbered sentence above was checked against the source it cites before publication. Sentences citing Wikipedia adapt text from the English Wikipedia article Tower of Hanoi (contributors), used under CC BY-SA 4.0; this entry is available under the same licence. Other sources were used for facts only.

More in Card & Tabletop Games

Sources

Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →