✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Let f( n ) be the minimal number of steps to solve the Tower of Hanoi game with
n disks.
f( n ) can be defined recursively as follows:
Use mathematical induction to prove that, for any positive integer n,
f( n ) = 2^n-1.