I've decided to dive in Concrete Mathematics despite only doing a couple of years of undergraduate maths many years ago. I'm looking to work through all the material whilst plugging gaps in my knowledge no matter how large they are.
However, solving recurrence relation 1.1 - The Towers of Hanoi is causing me issues.
The recurrence relation is as follows:
$T_0 = 0$
$T_n=2T_{n-1}+1$ for $n>0$
To find the closed form the book adds 1 to both sides of the equations to get:
$T_0+1=1$
$T_n+1=2T_{n-1}+2$
Then we let $U_n=T_n+1$. Now I get lost. How do I get from the line above to the second line below after the substitution of $U_n$. It seems like I'm missing something simple.
$U_0=1$
$U_n=2U_{n-1}$
Then the book goes on to say:
It doesn't take genius to discover that the solution to this recurrence is just $U_n=2^n$; hence $T_n=2^n-1$.
Again, I'm lost, how do I get to $U_n=2^n$?
A bit disheartening considering this is meant to be so easy.
Any help is appreciated. Thanks.