Exercise 1036Logic, sets and proofs › Proof techniques › InductionL1Added 3 Nov 2026
Towers of Hanoi
#induction#Hanoi#recurrence
Statement
Show that the minimum number of moves to solve the Towers of Hanoi with disks is .
Hint
Recurrence .
Show solutionHide solution
Solution
Recurrence. To move disks: move to auxiliary peg ( moves), move the largest to the target (1 move), move onto it ( moves). So .
Base case. .
Solve. by induction.
Conclusion. The minimum number of moves is .