已知数列{an}中,a2=1,前n项和为Sn,且Sn=n(an-a1)/2.求a1