Given $a_{k-1}=7*5^{k-1}-3*8^{k-1}$ and
$a_k=7*5^k-3*8^k$
for the recurrence $a_n=13a_{n-1}-40a_{n-2}$ prove that the next term is $a_{k+1}=7*5^{k+1}-3*8^{k+1}$
I am kind of stuck right now. This is what I have so far. If anyone could give me advice on where I should go from here. Thanks
$a_{k+1}=13(7*5^k-3*8^k)-40(7*5^{k-1}-3*8^{k-1})$
$=13*7*5^k-13*3*8^k-40*7*5^{k-1}+40*3*8^{k-1}$
$=7(13*5^k-40*5^{k-1})+3(-13*8^k+40*8^{k-1})$
$=7(13*5-40)*5^{k-1}+3(-13*8+40)*8^{k-1}$
If $a_k =cu^k+dv^k$ then
$\begin{array}\\ ra_{n}+sa_{n-1} &=r(cu^n+dv^n)+s(cu^{n-1}+dv^{n-1})\\ &=c(ru+s)u^{n-1}+d(rv+s)v^{n-1}\\ \end{array} $
and this equals $a_{n+1}$ if $cu^{n+1}+dv^{n+1} =c(ru+s)u^{n-1}+d(rv+s)v^{n-1}$ or $ru+s = u^2$ and $rv+s = v^2$.
In this problem, given $c, d, u, v$, we want to find $r, s$.
Subtracting, $r(u-v) = u+2-v^2$ so $r = u+v$ and $s = u^2-ru =u^2-(u+v)u =-uv $.
Since $a_k=7*5^k-3*8^k $, we have $c=7, d=-3, u=5, v=8$ so $r=13, s=-40$.
Note that $c$ and $d$ do not seem to appear in the formulas for $r$ and $s$. They are determined by the initial values $a_0$ and $a_1$. These are $a_0 = c+d$ and $a_1 =cu+dv$