已知数列{an}是等差数列,且a2=1,a5=-5,求数列{an}的通项an