I have the following problem I am not sure about. Let n = 0, 1, 2, ... and show that the equation $a_0 = 1, a_{n+1} = 2a_{n} + 1$
has the solution $ a_n = 2^n - 1$
Base case: $ n = 0 \\ a_0 = 2^0 - 1 = 0$
Now what exactly do I proof? I tried doing something like this but $2^n - 1 = 2a_{n} + 1$ but I cannot make it equal.
Hint
Observe that $$a_{n+1}+1=2(a_n+1)$$
$$=\cdots=2^{n-r}(a_r+1)$$ where $n\ge r\ge0$
By induction if $a_n=2^n-1,$
$$a_{n+1}+1=2(2^n)$$