subject
Mathematics, 13.10.2020 04:01 gonzmari457

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. Our problem is a variant of the Towers of Hanoi puzzle: 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.(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. (Hint: You may find it useful to also introduce a quantity S(n)for the least number of moves needed to move n pegs from tower 0 to tower 1.)(d) Prove inductively that T(n)≥(√3 + 1)n−1, for all n≥1.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 16:20
Which mathematical statements are true? 1) if 3 is an odd number, then 3 times 3 is an even number. 2) if 6 is less than 7, then 4 is greater than 7. 3) six is divisible by 3, and 10 is a multiple of 2. 4) the average of the data is greater than the largest value in the data, or it’s less than the largest value in the data. 5) the slope of a linear graph is its rate of change, and the graph’s y-intercept is the initial value. 6) if an equilateral triangle has equal angles, then all its angles will measure 45°.
Answers: 3
question
Mathematics, 21.06.2019 23:00
An elevator travels 310 feet in 10 seconds. at that speed, how far can't his elevator travel in 12 seconds?
Answers: 1
question
Mathematics, 22.06.2019 00:20
Ze trinomial x2 + bx – c has factors of (x + m)(x – n), where m, n, and b are positive. what is ze relationship between the values of m and n? explain how you got ze answer
Answers: 2
question
Mathematics, 22.06.2019 03:20
Aconcession manager at yankee stadium wants to know how temperature affects beer sales. she took a sample of 10 games and recorded the number of beers sold and the temperature in the middle of the game. temperature 80 68 78 79 87 74 86 92 77 84 number of beers 20533 1439 13829 21286 30985 17187 30240 87596 9610 28742 a. draw a scatter plot of the data. b. the manager estimates the regression equation to be: numberofbeers = −100, 678 + 1, 513 ∗ temperature draw this on your scatter plot. c. for one of the estimated points, indicate the residual with ei . d. for that same point, indicate what part of the variation is explained by the model with ˆyi − y¯.
Answers: 2
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, 20.04.2020 07:17
question
Mathematics, 20.04.2020 07:17
Questions on the website: 13722363