(1/2)已知数列{an}的前n项和为Sn,首项为a1,且1,an,Sn成等差数列.1)求数列{an}的通项公式; 2)