Question: Exercises 3 8 - 4 5 involve the Reve's puzzle, the variation of the Tower of Hanoi puzzle with four pegs and n disks. Before
Exercises involve the Reve's puzzle, the variation of the Tower of Hanoi puzzle with four pegs and disks. Before presenting these exercises, we describe the FrameStewart algorithm for moving the disks from peg to peg so that no disk is ever on top of a smaller one. This algorithm, given the number of disks as input, depends on a choice of an integer with When there is only one disk, move it from peg to peg and stop. For the algorithm proceeds recursively, using these three steps. Recursively move the stack of the smallest disks from peg to peg using all four pegs. Next move the stack of the largest disks from peg to peg using the threepeg algorithm from the Tower of Hanoi puzzle without using the peg holding the smallest disks. Finally, recursively move the smallest disks to peg using all four pegs. Frame and Stewart showed that to produce the fewest moves using their algorithm, should be chosen to be the smallest integer such that does not exceed the th triangular number, that is The longstanding conjecture, known Frame's conjecture, that this algorithm uses the fewest number moves required solve the puzzle, was proved Thierry Bousch
Show that the Reve's puzzle with three disks can solved using five, and fewer, moves.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
