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 19:30
1. are the corresponding angles congruent 2. find the ratios of the corresponding sides 3. is triangle jkl congruent to triangle rst? if so what is the scale factor
Answers: 1
question
Mathematics, 21.06.2019 20:40
In each of the cases that follow, the magnitude of a vector is given along with the counterclockwise angle it makes with the +x axis. use trigonometry to find the x and y components of the vector. also, sketch each vector approximately to scale to see if your calculated answers seem reasonable. (a) 50.0 n at 60.0°, (b) 75 m/ s at 5π/ 6 rad, (c) 254 lb at 325°, (d) 69 km at 1.1π rad.
Answers: 3
question
Mathematics, 21.06.2019 21:00
Which must be true in order for the relationship △zyv ~ △xwv to be correct? zy ∥ wx ∠z ≅ ∠y and ∠w ≅ ∠x zv ≅ vy and wv ≅ vx ∠z ≅ ∠x and ∠w ≅ ∠y
Answers: 2
question
Mathematics, 21.06.2019 22:30
James wants to promote his band on the internet. site a offers website hosting for $4.95 per month with a $49.95 startup fee. site b offers website hosting for $9.95 per month with no startup fee. for how many months would james need to keep the website for site a to be a better choice than site b?
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, 12.11.2020 22:50
question
Geography, 12.11.2020 22:50
question
History, 12.11.2020 22:50
question
English, 12.11.2020 22:50
Questions on the website: 13722360