$T(n) = 2$ if $n=0$
$T(n) = 9T(n-1)-56n +63$ if $n>=1$
Repeated substitution
$k=1$
$T(n) = 9T(n-1)-56n+63 $
$k =2$
$T(n) = 81T(n-2) -560n + 1134$
$k =3$
$T(n) = 729T(n-3) -5096n + 15309$
I cant find the pattern for the n term and the integer
For now i just have
T(n) = $9^k(n-k)$