More actions
Recurrent Problems - The Tower of Hanoi
Tn is the minimum number of moves that will transfer n disks from one peg to another under Lucas's rules.
small cases
T0 = 0, T1 = 1, T2 = 3 .....
mathematical expression
T0 = 0, Tn = 2Tn - 1 + 1, for n > 0
closed form
Tn = 2n - 1, for n >= 0