If $a_1 = 1$ and $a_{n + 1} = 2a_n + 5$ for $n = 1, 2,\ldots$, then what is $a_{100}$ equal to?
The answer is $6 \times 2^{99} - 5$.
I need to know the method basically.
My approach:
$a_1=1$, $a_2=7$, $a_3=19$ and so on...
so the difference between the successive terms in the series $6$, $12$, $24$, $48$ is in GP
Now I need to know the method to proceed from here onward so that we can find the value of $a_{100}$
So please explain how to proceed further.
A simple way to solve such a recurrence is by not considering $a_n$ directly, but $b_n = a_n + c$ for a suitable constant $c$.
$$\begin{align} a_{n+1} &= 2 a_n + 5\\ \iff a_{n+1} + 5 &= 2 (a_n + 5), \end{align}$$
so with $b_n = a_n + 5$ we immediately see $b_n = 2^{n-1}\cdot b_1$, and that then translates to $a_n = 2^{n-1}\cdot (1+5) - 5$. (The given answer has the wrong sign for the $5$ summand, by the way.)
Generally, when you have a recurrence
$$a_{n+1} = c\cdot a_n + d$$
with $c \neq 1$, adding $\frac{d}{c-1}$ yields
$$a_{n+1} + \frac{d}{c-1} = c\cdot a_n + d + \frac{d}{c-1} = c\cdot a_n + \frac{c}{c-1}d = c\cdot\left(a_n + \frac{d}{c-1}\right).$$