I can see where you are going with this but wouldn't I arrive at f(n) being equal to some sum.
I believe it would come out to be...
f(n)=n^{2}-\sumi^{2} from i=1 to i=n-1
If this is the case than any g(x) will involve me finding the partial sum of some series. Which is easy in this case...
Hi I'm doing a project in math and seem to be stuck on one part.
I come to trying to solve this recursion equation given by...
f(x) = -f(x-1) + g(x) where g(x) is known.
Would anyone mind showing me how to go around solving for f(x)?
In this case i have g(x)=x^{2} and f(0)=0 and...