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 18:00
The given dot plot represents the average daily temperatures, in degrees fahrenheit, recorded in a town during the first 15 days of september. if the dot plot is converted to a box plot, the first quartile would be drawn at __ , and the third quartile would be drawn at __ link to graph: .
Answers: 1
question
Mathematics, 21.06.2019 18:00
Enter numbers to write 0.000328 0.000328 in scientific notation. 1 1 0.000328=3.28 Γ— 0 . 000328 = 3 . 28 Γ— =3.28Γ—10 = 3 . 28 Γ— 10
Answers: 1
question
Mathematics, 21.06.2019 22:00
Given sinβˆ… = 1/3 and 0 < βˆ… < Ο€/2 ; find tan2βˆ… a. (4√2)/9 b. 9/7 c. (4√2)/7 d.7/9
Answers: 2
question
Mathematics, 21.06.2019 23:20
Which expression is a factor of 12x2 + 29x – 8? x – 8 2x – 1 3x + 8 4x + 1
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
question
Biology, 05.05.2020 13:24
question
English, 05.05.2020 13:24
question
Chemistry, 05.05.2020 13:24