solve t(n)=t(n-2)+n^2, t(0)=1, t(1)=5