若数列{an}的通项公式为an=1(n+1)(n+2),其前n项和为718,则n为( ) A.5 B.6 C.7 D.8
问题描述:
若数列{an}的通项公式为an=
,其前n项和为1 (n+1)(n+2)
,则n为( )7 18
A. 5
B. 6
C. 7
D. 8
答
由题意得,an=
=1 (n+1)(n+2)
-1 n+1
,1 n+2
所以Sn=a1+a2+…+an=(
-1 2
)+(1 3
-1 3
)+…+(1 4
-1 n+1
)1 n+2
=
-1 2
=1 n+2
,n 2(n+2)
令
=n 2(n+2)
,解得n=7,7 18
故选:C.