a(n+1)=2a(n)+n^2-2n+3,a(1)=-3