等差数列的前N项和的S奇,S偶的公式推导.

问题描述:

等差数列的前N项和的S奇,S偶的公式推导.

a1 ,公差d
奇数列首项a1,公差d1=a2n-1-a2n-3=2d
S奇数项n=(2a1+((n+1)/2-1)*(2d))[(n+1)/2]=(n+1)a1+(n^2-1)d/2
偶数列首项a2 公差d2=a2n-a2n-2=2d
S偶数项n=(2(a1+d)+(n/2-1)*2d)n/2=na1+n^2d/2