已知数列{an}满足a1=1,an=2an-1+n-2(n≥2),求通项an.