subject
Mathematics, 13.10.2020 05:01 ronaldo22

The Towers of Hanoi puzzle has 3 towers labeled 0,1, and 2. There are n pegs of sizes 1 to n, initially placed on tower 0 from top to bottom in increasing order of their sizes. The goal of the well-known puzzle is to move all n pegs to another tower, say tower 2. One can only move one peg at a time, and move the top peg on a tower to be placed on the top of another tower, and cannot place a larger peg on top of a smaller peg. The question is, what is the smallest number of moves needed. The three towers are still labeled 0, 1, and 2. There is one additional constraint: You are only allowed to move pegs from a tower labeled i to the next one labeled (i+1) mod 3. You can imagine the towers as being arranged in a circular fashion, in which case, the constraint says that you can only move pegs in an anti-clockwise manner. So, for example, in order to move a peg from tower 0 to tower 2, you would have to first move it to tower 1 (if both 0 → 1 and 1 → 2 are legal moves at this point), and this sequence would cost two moves instead of just one

Required:
a. Prove that starting at any legal configuration, there is at least one legal move.
b. Inductively prove that for any n≥1, this variant of the Towers of Hanoi puzzle (the goal is still moving all n pegs from tower 0 to tower 2) has a solution (consisting of finitely many legal moves.)
c. Give a recurrence of T(n), the least number of moves needed for this variant of the Towers of Hanoi puzzle with n pegs.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 12:30
Which equation can be simplified to find the inverse of y = 2x2?
Answers: 1
question
Mathematics, 21.06.2019 16:00
What are the related frequencies to the nearest hundredth of the columns of the two way table? group 1: a-102 b-34group 2: a-18 b-14edited: i don’t have all day to be waiting for an answer. i figured it out.
Answers: 2
question
Mathematics, 21.06.2019 17:20
What other information do you need to prove triangle dac=bca by asa
Answers: 1
question
Mathematics, 21.06.2019 19:20
Part a: sam rented a boat at $225 for 2 days. if he rents the same boat for 5 days, he has to pay a total rent of $480. write an equation in the standard form to represent the total rent (y) that sam has to pay for renting the boat for x days. (4 points)
Answers: 1
You know the right answer?
The Towers of Hanoi puzzle has 3 towers labeled 0,1, and 2. There are n pegs of sizes 1 to n, initia...
Questions
Questions on the website: 13722362