Ten discs on three pegs
In the Tower of Hanoi, 10 discs of different sizes sit on one of three pegs, largest at the bottom. A move takes the top disc of one peg and puts it on another peg, never on top of a smaller disc.
What is the minimum number of moves needed to transfer the whole stack to another peg?
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Before the largest disc can move, where must all the other discs be?
Let be the answer for discs. Show that .
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. The largest disc must move at least once, and when it moves, all the other discs must sit on the third peg. So the smaller discs must be moved out of the way, then back on top: twice the smaller problem, plus one move.
Step 1: the recursion. To move the largest disc from peg A to peg C, the smaller discs must all be on peg B. Getting them there takes at least moves, and putting them back on top of the largest disc takes at least more. So , and the obvious recursive strategy achieves it:
Step 2: solve. , so and .
Step 3. For 10 discs, .
The legend. The puzzle's story has 64 golden discs: moves, about 585 billion years at one move per second.