Consider the following difference equation:
$y(n+2) -4y(n) = 2^{n+3} - 1, \quad n \geq 0$.
Here is my try: First we must find the solution of the homogenous difference equation, we do this by solving the characteristic equation: $r^2 - 4 = 0 \implies r_1 = 2, r_2 = -2.$
Thus our solution to the homogenous equation is $y_H(n) = A2^n + B(-2)^n$, which subsequently give the general solution $y(n) = A2^n + B(-2)^n + u^*$, where $u^*$ is a particular solution of the given difference function. To find a particular solution we consider the general form $u^* = 2^{n+3} + C$. Then we find
$2^{n+5} + C - 4 \cdot (2^{n+3} + C) = 2^{n+3} - 1 \implies -3 \cdot 2^{n+3} + 4 -3C = 2^{n+3} - 1 \implies C = \frac{4 \cdot 2^{n+3} - 5}{ -3}$
This thus eventually gives us the following general solution: $y(n) = A2^n + B(-2)^n + 2^{n+3} + \frac{4 \cdot 2^{n+3} - 5}{ -3}$
But this seems rather odd to me, the solution's manual uses the annihilator method but I do not understand that. Am I on the right track?
Since the right-hand side has a term that is proportional to a homogenous solution, we attempt a particular solution of the form $A+Bn2^n$. Proceeding, we find that the particular solution $y_p$ is given by
$$y_p(n)=1/3+n2^n$$