Paper 2, Section I, A

Differential Equations
Part IA, 2021

Solve the difference equation

yn+24yn+1+4yn=ny_{n+2}-4 y_{n+1}+4 y_{n}=n

subject to the initial conditions y0=1y_{0}=1 and y1=0y_{1}=0.