通项a(i)=(n+i-1)² (i=1,2.a);
s(a)=∑(n+i-1)² ;
一阶导数s'(a)=2∑(n+i-1) =2(n*a + a(a-1)/2) =2n*a+a(a-1);
积分s(a)=a*n² + a(a-1)*n +C
C=∑(i-1)²= a(a-1)(2a-1)/6
所以前a项和s(a)=a*n² + a(a-1)*n + a(a-1)(2a-1)/6 .
通项a(i)=(n+i-1)² (i=1,2.a);
s(a)=∑(n+i-1)² ;
一阶导数s'(a)=2∑(n+i-1) =2(n*a + a(a-1)/2) =2n*a+a(a-1);
积分s(a)=a*n² + a(a-1)*n +C
C=∑(i-1)²= a(a-1)(2a-1)/6
所以前a项和s(a)=a*n² + a(a-1)*n + a(a-1)(2a-1)/6 .