Consider the homogeneous recurrence relation:
$$h_n = 3h_{n-1}$$
We guess a solution of the form $h_n = Cr^n$ for some constants $C$ and $r$. Plugging this into the homogeneous relation, we get:
$$Cr^n = 3Cr^{n-1}$$
Dividing both sides by $Cr^{n-1}$, we get:
$$r
Show more…