Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 8 - Section 8.1 - Applications of Recurrence Relations - Exercises - Page 510: 1

Answer

To demonstrate (prove) that $H_n$ = $2^n-1$ , where $H_n$ is defined recursively by the relation $H_n$ = $2\times H_{n-1}+1$ and denotes the minimum number of moves required to solve a tower of hanoi problem with n pegs.

Work Step by Step

Method: Proof by induction For n = 1 , $2^1$ - 1 = 1 For a $k\geq2$, let us assume that $H_k$ = $2^k-1$. We have to prove that $H_{k+1}$ = $2^{k+1}-1$ . Given that $H_n$ = $2\times H_{n-1}+1$, ⇒ $H_{k+1}$ = $2\times H_{(k+1)-1}+1$ ⇒ $H_{k+1}$ = $2\times H_{k}+1$ ⇒ $H_{k+1}$ = $2\times (2^k-1) + 1$ ⇒ $H_{k+1}$ = $ 2^{k+1}-2 + 1$ Thus, $H_{k+1}$ = $ 2^{k+1}-1$ which was to be proved. Hence, by the domino effect of the induction, the formula derived in Example 2 has been proven
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.