I'm trying to solve: $$p_{n+1} + \frac 16 p_n = \frac 1 2 \left(\frac 5 6 \right) ^{n-1}$$ with initial condition: $p_1 = 1$.
First, I search particular solution of the form $p_n^* = \lambda (\frac 5 6 ) ^n$. I found $\lambda = \frac 3 5$.
Next, I know that $p_n = \alpha (-\frac 1 6)^n + \frac 3 5 (\frac 5 6 )^n$, and using $p_1 = 1$, I found: $\alpha = -3$.
Which leads to: $p_n = -3(-\frac 1 6)^n + \frac 3 5 (\frac 5 6 )^n$.
Well... But thanks to the recurrence formula, I have $p_2 = \frac 1 4$ and with this new formula, I have $p_2 = \frac 1 3$.
Where is my mistake?
Your answer is correct! Here's a full solution to the recurrence.
We have the following: $$ \begin{align*} p_{n+1} + \dfrac{1}{6} p_n &= \dfrac{1}{2}\left(\dfrac{5}{6}\right)^{n-1} \\ p_{n} + \dfrac{1}{6} p_{n-1} &= \dfrac{1}{2}\left(\dfrac{5}{6}\right)^{n-2} \\ \end{align*} $$
Dividing the two, we have: $$ \begin{align*} \dfrac{6p_{n+1} + p_n}{6p_{n} + p_{n-1}} &= \dfrac{5}{6} \\ 36p_{n+1} + 6p_n &= 30p_n + 5p_{n-1} \\ 36p_{n+1} - 24p_n - 5p_{n-1} &= 0 \end{align*} $$
The roots of the characteristic polynomial are $-\dfrac{1}{6}$ and $\dfrac{5}{6}$. Thus, the solution is in the form $$ p_n = \alpha \left(-\dfrac{1}{6}\right)^n + \beta \left(\dfrac{5}{6}\right)^n $$
Plugging in $p_{1} = 1$ and $p_2 = \dfrac{1}{3}$, we find that $\alpha = -3$, $\beta = \dfrac{3}{5}$.
Thus, the solution is $$ p_n = -3 \cdot \left(-\dfrac{1}{6}\right)^n + \dfrac{3}{5} \cdot \left(\dfrac{5}{6}\right)^n $$