等差数列求和公式,求项数,求详述

问题描述:

等差数列求和公式,求项数,求详述

课本上有

Sn=(a1+an)n/2
  (首项+末项)X项数÷2
  Sn=na1+n(n-1)d/2; (d为公差)
  Sn=An2+Bn; A=d/2,B=a1-(d/2)
an=a1+(n-1)d