FREE! Click here to Join FunTrivia. Thousands of games, quizzes, and lots more!
Quiz about Tower of Hanoi
Quiz about Tower of Hanoi

Tower of Hanoi Trivia Quiz


You might have seen and played this mathematical puzzle before, but how much do you know about the story and maths behind it? Enjoy!

A multiple-choice quiz by Matthew_07. Estimated time: 4 mins.
  1. Home
  2. »
  3. Quizzes
  4. »
  5. Science Trivia
  6. »
  7. Math
  8. »
  9. Specific Math Topics

Author
Matthew_07
Time
4 mins
Type
Multiple Choice
Quiz #
303,839
Updated
Dec 05 23
# Qns
10
Difficulty
Average
Avg Score
6 / 10
Plays
413
Last 3 plays: Guest 103 (5/10), Guest 205 (9/10), Guest 103 (2/10).
- -
Question 1 of 10
1. The Tower of Hanoi is a mathematical puzzle that was invented back in 1883 by a French mathematician. Who was he/she? Hint


Question 2 of 10
2. A typical Tower of Hanoi puzzle consists of 3 pegs and 3 circular disks of different sizes stacked nicely on the first peg (the largest disk at the bottom and the smallest one on top). The goal is to move these 3 disks to another empty peg. While moving the disks, can you put a larger disk on a smaller one?


Question 3 of 10
3. A simple Tower of Hanoi puzzle consists of 3 pegs and 3 circular disks. What is the least number of moves that are required to move the disks to another empty peg?

Answer: (A 1-digit prime number)
Question 4 of 10
4. Let's say a total of m moves are required to complete a Tower of Hanoi puzzle with 3 pegs and p disks. Now, how many moves are needed to solve the puzzle with (p+1) disks? Hint


Question 5 of 10
5. What is the general formula that is used to calculate the least number of moves required to solve a Tower of Hanoi puzzle with 3 pegs and n disks? (Hint: given that the first few terms of the sequence are 1, 3, 7, 15...) Hint


Question 6 of 10
6. A minimum of 1023 moves are required to solve a Tower of Hanoi puzzle with 3 pegs and 10 disks. Which of the 10 disks will be moved the most (namely 512 times) between the 3 pegs? Hint


Question 7 of 10
7. The solution to which of the following Tower of Hanoi puzzles will require the least moves? Hint


Question 8 of 10
8. The Tower of Hanoi is widely studied in the field of recreational mathematics. Mathematicians have come out with the general formula to calculate the least number of moves required to complete the game. What is the name of the equation that is used to solve this puzzle? Hint


Question 9 of 10
9. The Tower of Hanoi has many useful applications. It is used in which of the following field(s)? Hint


Question 10 of 10
10. The Tower of Hanoi was used as one of the symbols for the 48th International Mathematical Olympiad (IMO) in 2007. Which Southeast Asian country hosted the prestigious event? Hint



(Optional) Create a Free FunTrivia ID to save the points you are about to earn:

arrow Select a User ID:
arrow Choose a Password:
arrow Your Email:




Most Recent Scores
Apr 15 2024 : Guest 103: 5/10
Apr 13 2024 : Guest 205: 9/10
Apr 13 2024 : Guest 103: 2/10
Apr 11 2024 : Guest 152: 1/10
Mar 08 2024 : Tarver: 6/10
Feb 22 2024 : Andyboy2021: 10/10

Score Distribution

quiz
Quiz Answer Key and Fun Facts
1. The Tower of Hanoi is a mathematical puzzle that was invented back in 1883 by a French mathematician. Who was he/she?

Answer: Édouard Lucas

Apart from the Tower of Hanoi, Lucas was also known for his work on the famous Fibonacci sequence. Another version of the sequence, namely the Lucas sequence was named after him.
2. A typical Tower of Hanoi puzzle consists of 3 pegs and 3 circular disks of different sizes stacked nicely on the first peg (the largest disk at the bottom and the smallest one on top). The goal is to move these 3 disks to another empty peg. While moving the disks, can you put a larger disk on a smaller one?

Answer: No

You can only move one disk at a time during the entire game. Moreover, no other disk can be put on the smallest disk. In other words, a smaller disk must be placed on a larger one. If you put a larger disk on top of a smaller one, the "tower" will collapse.
3. A simple Tower of Hanoi puzzle consists of 3 pegs and 3 circular disks. What is the least number of moves that are required to move the disks to another empty peg?

Answer: 7

The game can be represented by the mathematical notation T(3,3). T stands for tower. The first 3 denotes the 3 pegs and the second 3 means there are 3 circular disks.

Now, we can move the 3 circular disks to either peg two or peg three, which are both empty. Suppose that we want to move the disks to the third peg.

Step 1: We make our first move by taking the first disk (the smallest one) from peg one and move it to peg three.

Step 2: Then, we take the middle-sized disk from peg one and move it to peg two. Notice that we cannot place it at peg three since this violates the rule of the game, namely by placing a larger disk on a smaller one.

Step 3: Next, we take the smallest disk from peg three and put it on the top of the middle-sized disk at peg two.

Step 4: Move the largest disk from peg one to the empty peg three.

Step 5: Move the smallest disk from peg two to the empty peg one.

Step 6: Move the middle-sized disk from peg two to peg three.

Step 7: Move the smallest disk from peg one to peg three.
4. Let's say a total of m moves are required to complete a Tower of Hanoi puzzle with 3 pegs and p disks. Now, how many moves are needed to solve the puzzle with (p+1) disks?

Answer: 2m + 1

Of course, a similar Tower of Hanoi with an additional disk will require more steps.

Let's look into a specific case where initially you have 3 pegs and 3 disks. You need a total of 7 steps to complete the game.

Now, if there are 3 pegs and 3 + 1 = 4 disks, how many moves are needed?

To solve this puzzle with 4 disks, we can use or manipulate the result that we obtain from the previous puzzle with 3 disks.

We argue this by first moving the top 3 disks from peg one to peg three. Hence, a total of m moves are needed. After this m steps, the largest disk will remain unmoved at peg 1. We move this peg to peg two, which is empty. Next, we will move back all the 3 disks from peg three back to peg two. Again, a total of m steps are needed.

So, in total, you will need m + 1 + m = (2m + 1) steps to solve the puzzle.
5. What is the general formula that is used to calculate the least number of moves required to solve a Tower of Hanoi puzzle with 3 pegs and n disks? (Hint: given that the first few terms of the sequence are 1, 3, 7, 15...)

Answer: (2^n) - 1

The general formula is number of steps = (2^n) - 1.

We can verify this easily. Taking n = 1, (2^1) - 1 = 1 step.

When n = 2, (2^2) - 1 = 3 steps.

When n = 3, (2^3) - 1 = 7 steps.

When n = 4, (2^4) - 1 = 15 steps.

Now let's see how the equation (2^n) - 1 is obtained.

We start from the recursive equation an = 2a(n-1) + 1, where an means the nth term and a(n-1) means the (n-1)th term. The initial condition is a1 = 1.

We have an = 2a(n-1) + 1. We also have a(n-1) = 2a(n-2) + 1.

We arrive at an = 2[2a(n-2)+1] + 1 = 2^2 x a(n-2) + 2 + 1 = 2^2 x [2a(n-3) + 1] + 2 + 1 = 2^3 x a(n-3) + 2^2 + 2 + 1.

In general, an = 2^(n-1) x a1 + 2^(n-2) + ... + 2 + 1.

The initial condition is given as a1 = 1.

So, an = 2^(n-1) x 1 + 2^(n-2) + ... + 2 + 1 = 2^(n-1) + 2^(n-2) + ... + 2 + 1.

Now, an = 2^(n-1) + 2^(n-2) + ... + 2 + 1. This is a geometric series.

By using the summation formula of the geometric series, we arrive at an = [(2^n) - 1]/[2-1] = (2^n) - 1.
6. A minimum of 1023 moves are required to solve a Tower of Hanoi puzzle with 3 pegs and 10 disks. Which of the 10 disks will be moved the most (namely 512 times) between the 3 pegs?

Answer: The smallest disk

One of the most useful strategies to solve the puzzle is that your moves should always alternate between the smallest disk and the remaining disk. In the Tower of Hanoi with 3 pegs and 10 disks, a total of (2^10) - 1 = 1023 moves are needed. Out of these 1023 moves, 1023/2 +0.5 = 511.5 + 0.5 = 512 moves are performed on the smallest disk.
7. The solution to which of the following Tower of Hanoi puzzles will require the least moves?

Answer: Tower A with 4 pegs and 3 disks.

You need (2^3) - 1 = 7 steps to solve the puzzle with 3 pegs and 3 disks.

On the other hand, you need (2^4) - 1 = 15 steps to solve the puzzle with 3 pegs and 4 disks.

If more empty pegs are given, the number of steps required to complete the puzzle will decrease. This is because more empty pegs are available for you to put your disks on.

You only need 5 steps to solve the puzzle with 4 pegs and 3 disks.

You need 9 steps to complete the game with 4 pegs and 4 disks.
8. The Tower of Hanoi is widely studied in the field of recreational mathematics. Mathematicians have come out with the general formula to calculate the least number of moves required to complete the game. What is the name of the equation that is used to solve this puzzle?

Answer: Recurrence relation

Given a Tower of Hanoi game with 3 pegs and 1 disk. The solution is obvious and simple - only 1 move is required to solve the puzzle.

For a game with 3 pegs and 2 disks, 3 moves are needed.

For a game with 3 pegs and 3 disks, 7 moves are required.

We can show that for the puzzles with 3 pegs and 4 disks, 15 moves are needed.

Now, the sequence is 1, 3, 7, 15.

Let the first term, a1 = 1. Also, a2 = 3, a3 = 7 and a4 = 15.

Notice that each term of the sequence can be defined as a function of its previous term.

Now, our job is to find the function and we can use the useful recurrence relation to do this.

The equation that we have at the end is an = 2a(n-1) + 1. Here, an means the nth term and a(n-1) means the (n-1)th term. The initial condition is a1 = 1.

So, by using the formula, we can easily compute a2 = 2a1 + 1 = 2(1) + 1 = 3. Also, a3 = 2a2 + 1 = 2(3) + 1 = 7 and a4 = 2a3 + 1 = 2(7) + 1 = 15.
9. The Tower of Hanoi has many useful applications. It is used in which of the following field(s)?

Answer: All of these

The Tower of Hanoi is a widely-used psychological test to examine one's problem solving skills.

It is also used in the data backup rotation scheme to minimize the time taken and improve efficiency.

The recursive property of the solution of the Tower of Hanoi is studied and applied in computer programming and algorithms. A well-written source code or programming language takes less time when it executes a task or program.
10. The Tower of Hanoi was used as one of the symbols for the 48th International Mathematical Olympiad (IMO) in 2007. Which Southeast Asian country hosted the prestigious event?

Answer: Vietnam

The 48th International Mathematical Olympiad (IMO) was held in Hanoi, Vietnam from 19 to 31 July, 2007. A total of 93 countries participated in this competition. The first place went to the Russian team. The China team emerged as the first runner-up while the second runner-up went to the Vietnam team.
Source: Author Matthew_07

This quiz was reviewed by FunTrivia editor crisw before going online.
Any errors found in FunTrivia content are routinely corrected through our feedback system.
4/19/2024, Copyright 2024 FunTrivia, Inc. - Report an Error / Contact Us