How often the smallest disk moves

In an optimal solution to the Tower of Hanoi with 7 disks, how many of the total moves are made by the smallest disk?

Show hints (2)+
  1. The largest disk moves once. How many times is a sub-tower of size kk relocated across the whole solution?
  2. Disk kk (with 11 = smallest) moves 2 n−k2^{\,n-k} times; the shares 64,32,16,…64,32,16,\dots sum to 2n−12^n-1.

Answer

Reveal answer →

64

Create a free account to see the full worked solution and track your progress.

Interview format: Trading Aptitude Tests, Systematic & Data-Driven Trading

Related questions