I have $a_n-a_{n-1}=n$ with some initial conditions $a_0=1, a_2=2, a_3=4, a_4=7$ since there exist $n$, it's inhomogeous equation isn't it?
I know from ODE i can bring the homogenous solution and differentiate it and do a substitution into the original equation to find the particular solution.
But how about this difference equation?