设数列{an}是等差数列,其前n项和为Sn,若a6=2,S5=30,则S8=(  ) A.31 B.32 C.33 D.34

问题描述:

设数列{an}是等差数列,其前n项和为Sn,若a6=2,S5=30,则S8=(  )
A. 31
B. 32
C. 33
D. 34

设等差数列{an}的首项为a1,公差为d,
由a6=2,S5=30,得

a1+5d=2
5a1+
5×4d
2
=30
,解得:
a1
26
3
d=−
4
3

∴S8=8a1+
8×7d
2
=
26
3
+4×7×(−
4
3
)=32

故选:B.