I have the following recurrence $$a_n - 3a_{n-2} + 2a_{n-3} = 9 (-2)^n$$ with initial conditions $a_0 = 0, a_1 = 1, a_2 = 26$. I wish to find an explicit formula for $a_n$.
The characteristic polynomial for this recurrence is given by $\lambda(x) = x^3 - 3x + 2 = (x-1)^2 (x+2)$
Using a method I've been shown in class, I find
$$ \lambda(x) \cdot \Sigma{a_nx^n} = P(x) + 9 \cdot \Sigma{2^nx^n}$$ $$ \Sigma{a_nx^n} = \frac{P(x)}{\lambda(x)} + \frac{9}{\lambda(x) \cdot (1+2x)}$$
$$ \Sigma{a_nx^n} = \frac{P'(x)}{(x-1)^2(x+2)(1+2x)}$$
now this gives me a system of equations with 4 unknowns, and only 3 initial conditions with which to solve it. Clearly I've made a mistake somewhere.
I've also tried to use the lucky guess method, but I am still unable to solve this recurrence.
Can someone point out my error in the above approach, or give a push in the right direction using the "lucky guess" method?