(1)Sn=1/2n(a1+an)=999,即1/2(n(20+54))=999,所以n=27,又因为Sn=na1+1/2n(n-1) d=999,则Sn=20×27+1/2×27(27-1) d=999,则d=17/13 (3),Sn=na1+1/2n(n-1) d=-5, a1=5/6,d=-1/6,即Sn=n5/6+1/2n(n-1)(-1/6) =-5,n=15,an=a1+(n-1)d=5/6×14×(-1/6)=-35/18