2个回答
展开全部
当n为奇数时,
Sn=-1+4-7+10-13+16+...+(3n-5)-(3n-2)
=-(1+7+13+...+3n-2)+(4+10+16+...+3n-5)
=-(1+3n-2)/2*(n+1)/2+(4+3n-5)/2*(n-1)/2
=(3n-1)/4*[(n-1)-(n+1)]
=(3n-1)/4*(-2)
=-(3n-1)/2
当n为偶数时,
Sn=-1+4-7+10-13+16+...-(3n-5)+(3n-2)
=-(1+7+13+...+3n-5)+(4+10+16+...+3n-2)
=-(1+3n-5)/2*n/2+(4+3n-2)/2*n/2
=n/4*[(3n+2)-(3n-4)]
=n/4*6
=3n/2
Sn=-1+4-7+10-13+16+...+(3n-5)-(3n-2)
=-(1+7+13+...+3n-2)+(4+10+16+...+3n-5)
=-(1+3n-2)/2*(n+1)/2+(4+3n-5)/2*(n-1)/2
=(3n-1)/4*[(n-1)-(n+1)]
=(3n-1)/4*(-2)
=-(3n-1)/2
当n为偶数时,
Sn=-1+4-7+10-13+16+...-(3n-5)+(3n-2)
=-(1+7+13+...+3n-5)+(4+10+16+...+3n-2)
=-(1+3n-5)/2*n/2+(4+3n-2)/2*n/2
=n/4*[(3n+2)-(3n-4)]
=n/4*6
=3n/2
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询