This is a fun game. 
This is a fun puzzle. 
You must move the stack to a new stick. You can move only one disk at a time. You cannot put a big disk on a small one.
A man named Édouard Lucas made this game. 
With three disks, you need seven moves. You can play with many disks. Can you solve it?
The Tower of Hanoi is a famous math puzzle. 

Your goal is to move the whole stack to another rod. You must follow two main rules. First, you can move only one disk at a time. Second, you cannot put a large disk on top of a smaller one.
A man named Édouard Lucas shared this game in 1883. Some old legends say monks move golden disks in a temple. These stories say the world ends when the task is done. If a tower had 64 disks, it would take a very long time. It would take 585 billion years to finish! 
Math helps us find the best way to play. For a tower with three disks, you need seven moves. You can use a method called recursion. This means you break a big problem into smaller parts. You solve the small parts to finish the big puzzle.
The Tower of Hanoi is a famous math puzzle that tests how we solve problems. 

Solving the puzzle requires a smart way of thinking. You might try to move pieces back and forth, but there is a fastest way. For a stack with only three disks, you can finish in seven moves.
A French mathematician named Édouard Lucas invented this puzzle. He first showed it to people in 1883.
Some of these legends are quite amazing and even a bit spooky. One story says the tower has 64 golden disks. It claims that the world will end when the priests finish moving them. If you moved one disk every single second, it would take a huge amount of time. It would take 585 billion years to move all 64 disks. That is about 42 times longer than the age of the universe! Because the number of moves grows so fast, the task is nearly impossible. This shows how math can describe things that are much bigger than our lives.
You can see how this math works in many different ways. You can solve it by alternating between moving the top disk and another disk. Some people even use computer math called binary to find the right moves.
The Tower of Hanoi is a mathematical puzzle involving three rods and a set of disks. 
Solving the puzzle involves understanding how the number of moves grows with each added disk. The minimum number of moves required to solve the puzzle is expressed by the formula 2^n - 1, where n represents the number of disks. For example, a puzzle with three disks requires exactly seven moves to complete. 
There are several ways to approach a solution, including iterative and recursive methods. An iterative solution involves a repeating pattern of moves. One method is to alternate between moving the top disk and moving another legal piece. If the number of disks is even, the top disk moves in one direction around the rods. If the number is odd, it moves in the opposite direction. 
A recursive solution is often used to teach computer programming. Recursion is a process where a large problem is broken down into smaller sub-problems.
The puzzle was invented by the French mathematician Édouard Lucas. He first presented the game in 1883 using the pseudonym "N. Claus (de Siam." This name was an anagram of his own name, Lucas d'Amiens.
One famous legend involves a tower consisting of 64 golden disks. It claims that the completion of the tower will lead to the end of the world. The scale of this task is difficult to imagine. If a person made one move every second, it would take 2^64 - 1 seconds to finish. This is approximately 585 billion years.
Beyond being a game, the Tower of Hanoi is a significant tool in mathematics and science. It is a classic example used to demonstrate mathematical induction and recurrence relations. In computer science, it helps students understand how algorithms function. The puzzle also connects to other mathematical concepts, such as binary representation. The position of disks after any given move can be determined using the binary form of the move number. This deep connection between a simple game and complex logic makes the Tower of Hanoi a fundamental study in pattern and structure.
🖼️ Images & Media (8)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.