首项+末项的和乘项数除以二,(1+400)×400÷2
S=1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +…………+399+400
+S=400+399+398+397+396+395+394+393+392+391+…………+2 +1
—————————————————————————————————
2S=401+401+401+401+401+401+401+401+401+401+…………+401+401
=401x400
S=401x200=80200
=401*400/2=80200
(1+400)*(400/2)
=(1+400)*400/2
=401*200
=80200