Double Tower of Hanoi Puzzle: Minimum Moves & Recurrence Relation

  • Context: Graduate 
  • Thread starter Thread starter hansel13
  • Start date Start date
  • Tags Tags
    Tower
Click For Summary

Discussion Overview

The discussion revolves around the double tower of Hanoi puzzle, which involves 2n discs of n different sizes, with two discs of each size. Participants are exploring the minimum number of moves required to solve the puzzle and are attempting to establish a recurrence relation for the sequence a1, a2, a3, ...

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes that a1 = 3 and suggests the recurrence relation an = 2an-1 + 2.
  • Another participant questions the validity of a1 = 3, suggesting that it could be solved in two moves due to the discs being identical.
  • A participant explains their reasoning for a1 = 3, detailing the moves involved when n = 1.
  • One participant argues that the problem can be simplified by treating each pair of identical discs as a single unit, leading to a different calculation for the number of moves.
  • A later reply clarifies the notation used for moving the discs and corrects their earlier misunderstanding about the number of sizes of discs.
  • The same participant provides a detailed breakdown of their reasoning for calculating a1 and a2, suggesting a different approach to the problem.

Areas of Agreement / Disagreement

Participants express differing views on the value of a1 and the recurrence relation, with no consensus reached on the correct approach or solution to the problem.

Contextual Notes

There are unresolved questions regarding the assumptions about the discs being identical and whether they need to be stacked in a specific order. The notation for moves also appears to be a point of confusion for some participants.

hansel13
Messages
51
Reaction score
0
The double tower of Hanoi puzzle contains 2n discs. There are n different sizes, two
of each size. Initially one of the poles contains all the disks placed on top of each other in decreasing size. Discs of the same size are identical. You are allowed to
place discs of the same size on top of each other. Let an be the minimum number of moves
need to solve the puzzle. Find a recurrence relation for a1, a2, a3, ...

This is what I came up with, and wanted to see if it was right:
a1 = 3
an = 2an-1 + 2.

Is this correct?
thanks
 
Physics news on Phys.org
Perhaps you could explain how the recurrence relation was obtained?
 
Well a1 = 3 because When n is 1, we have 2 discs. There are 3 moves to get the discs to the other peg (1,2,1)

And I have problems trying to figure the the recurrence relation, not sure how to find it from the information we are given.
 
Last edited:
Why is a1 = 3? Can't you solve it in two moves by moving the discs one after the other to the target rod? Since the two discs are "identical," this should be a solution, right? Or are the discs also labeled, and need to be stacked in the same exact order on the target rod?

Also, I have no idea how to read your notation for moving the discs.
 
I see nothing difficult about this problem. You start with the disks in order of size, so each pair of disks of the same size is together. Once you move the top disk of such a pair, you can, and should, immediately move the next disk on to of it. Thus, we can think of each "pair" as a single disk and are back to the original problem. The only difference is that it takes 2 moves to move each pair. The number of moves is just 2 times the number of moves in "single" Towers of Hanoi, 2(2^n- 1)= 2^{n+1}- 2.
 
Moo Of Doom said:
Why is a1 = 3? Can't you solve it in two moves by moving the discs one after the other to the target rod? Since the two discs are "identical," this should be a solution, right? Or are the discs also labeled, and need to be stacked in the same exact order on the target rod?

Also, I have no idea how to read your notation for moving the discs.

Sorry, cleaned up my notation. Got myself mixed up with another problem when I was writing up the problem. EDITED.

And I understand now. I thought by 2n, we had 2n different sizes. I should have read the instructions better.

so assuming we start on the leftmost peg...
a1 = 2 (Move first disc to adjacent peg. Move second disc on top of first disc because they are the same size.)
a2 = 6
(Move Disc1 to middle peg.
Move Disc 2 to middle peg on top Disc1.
Move Disc 3 to right peg.
Move Disc 4 to right peg on top of Disc 3.
Move Disc 2 to the right peg on top of Disc 3 and 4.
Move Disc 1 to the right peg on top of Disc 2, 3 and 4.)

I think I got it now.
 

Similar threads

Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
16K
Replies
2
Views
8K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 5 ·
Replies
5
Views
18K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K