已知数列{an}满足a1=1,a2=1,an+1=|an-an-1|(n≥2),则该数列前2011项的和S2011等于( ) A.1341 B.669 C.1340 D.1339
问题描述:
已知数列{an}满足a1=1,a2=1,an+1=|an-an-1|(n≥2),则该数列前2011项的和S2011等于( )
A. 1341
B. 669
C. 1340
D. 1339
答
根据条件可以得出:数列各项为1,1,0,1,1,0…
∵2011=3×670+1
∴s2011=2×670+1=1341
故选A.