Tower of Hanoi
No. of disks
Minimum no. of moves  
Your no. of moves


This DHTML script is featured on Dynamic Drive.

Description: The Tower of Hanoi (also referred to as the Tower of Brahma) was invented by the French mathematician Edouard Lucas in 1883. He was inspired by a legend that tells of a Hindu temple where the pyramid puzzle was used for the mental discipline of young priests. The objective of the game is to move a stack of disks from the left-most pole to the right-most in the least amount of moves, the catch being a smaller disk must always be stacked on top of a larger, and never the other way around. Depending on the number of disks, this can become very challenging.