设数列{an}满足a(n+1)=2an+n^2-4n+1.