an = 1+ nsin(nπ/2).(-1)^n
a1= 1-1=0
a2= 0
a3= 1+3=4
a4= 0
ie
an= 1- n ; n=4m-3
= 1+n ; n=4m-1
= 0 ; n=4m-2 or 4m
S100=a1+a2+...+a100
= a1+a3+.+a99
=(1-1) +(1+3) +(1-5)-(1+7) +.+(1+99)
= 0 +4 +(-4)+.+(-96)+100
= 100
an = 1+ nsin(nπ/2).(-1)^n
a1= 1-1=0
a2= 0
a3= 1+3=4
a4= 0
ie
an= 1- n ; n=4m-3
= 1+n ; n=4m-1
= 0 ; n=4m-2 or 4m
S100=a1+a2+...+a100
= a1+a3+.+a99
=(1-1) +(1+3) +(1-5)-(1+7) +.+(1+99)
= 0 +4 +(-4)+.+(-96)+100
= 100