Given recurrence equation :
$T(N) = T(N-1) + T(N-2) + N$
Given base case
$ T(1) = -3$
So I rewrote the equation as
$ T(n)+ n - T(1) = T(n-1)+ (n-1) - T(1) + T(n-2)+(n-2)-T(1)$
Substituting $ V(n) = T(n) + n - T(1)$ we get :
$V(n) = V(n-1) + V(n-2) $
which is the Fibonacci relation , hence :
$ T(n) = \frac{\phi^{n} - \psi^{n}}{\sqrt {5}} +n-3$
where $\phi$ is the golden ratio.
Is the substitution correct theoretically as asymptotically the constant term is dominated by the linear term ?