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 17:10
The random variable x is the number of occurrences of an event over an interval of ten minutes. it can be assumed that the probability of an occurrence is the same in any two-time periods of an equal length. it is known that the mean number of occurrences in ten minutes is 5.3. the appropriate probability distribution for the random variable
Answers: 2
question
Mathematics, 21.06.2019 17:30
Danielle earns a 7.25% commission on everything she sells at the electronics store where she works. she also earns a base salary of $750 per week. what were her sales last week if her total earnings for the week were $1,076.25?
Answers: 3
question
Mathematics, 21.06.2019 18:00
Acompany wants to reduce the dimensions of its logo by one fourth to use on business cards. if the area of the original logo is 4 square inches, what is the area of the logo that will be used on the business cards?
Answers: 1
question
Mathematics, 21.06.2019 18:30
Find the constant of variation for the relation and use it to write an equation for the statement. then solve the equation.
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
Mathematics, 23.10.2020 03:01
question
Mathematics, 23.10.2020 03:01
question
Mathematics, 23.10.2020 03:01
question
Computers and Technology, 23.10.2020 03:01
question
Mathematics, 23.10.2020 03:01
Questions on the website: 13722360