Suma gauss:
A) 46+47+....+500= {[(500-46)+1](500+46)}/2
=(455*546)/2
=455*243
=110565
B) 1001+1002+1003+.....+1098
={[(1098-1001)+1](1001+1098)}/2
=(98*2099)/2
=49*2099
=102851
C) 300+301+302+...+399
={[(399-300)+1](300+399)} /2
=(100*399) /2
=50*399
=19950
Redacteaza fix asa cu *=ori