1.数列{an}的通项公式为an=(-1)n-1·(4n-3),则它的前100项之和S100等于( )
A.200B.-200C.400D.-400
[解析]S100=(4×1-3)-(4×2-3)+…-(4×100-3)
=4×[(1-2)+(3-4)+…+(99-100)]
=4×(-50)=-200.
[答案]B
2.数列中,a1=2,且an+an-1=+2(n≥2),则数列前2021项和为( )
A.B.C.D.
[解析]∵an+an-1=+2(n≥2),
∴a-a-2=n,
整理得:-=n,
∴-=n++……+2,又a1=2,
∴=,
可得:==2,
则数列前2021项和为:
S2021=2
=2=.故选B.
[答案]B