Sn=1/2*n²+1/2*n
∴a1=S1=1/2+1/2=1 (n=1)
当n>1时,
an=Sn-S(n-1)=1/2*n²+1/2*n-[1/2*(n-1)²+1/2*(n-1)]=1/2*n²+1/2*n-1/2*n²+n-1/2-1/2*n+1/2
=n
∴an=n
验证当n=1时,a1=1,符合题意.
∴an=n
Sn=1/2*n²+1/2*n
∴a1=S1=1/2+1/2=1 (n=1)
当n>1时,
an=Sn-S(n-1)=1/2*n²+1/2*n-[1/2*(n-1)²+1/2*(n-1)]=1/2*n²+1/2*n-1/2*n²+n-1/2-1/2*n+1/2
=n
∴an=n
验证当n=1时,a1=1,符合题意.
∴an=n