已知数列{an}是等差数列,其前n项和是Sn (1)若a1=1,an=-55,Sn=-405,求n及公差d