Răspuns :
simplu..
facem un mic artificiu ca sa putem aplica Gauss adaugam +1 si la final scadem 1,
1+2+3+...+50 -1
Adica
50*51/2-1=
25*51-1=
1275-1=1274
facem un mic artificiu ca sa putem aplica Gauss adaugam +1 si la final scadem 1,
1+2+3+...+50 -1
Adica
50*51/2-1=
25*51-1=
1275-1=1274
suma lui Gauss
2+3+4+..... +50
50+49+48+....+2
--------------------------
52+52+52+.......+52
nr de termeni
(50-2)+1=49
49x52=2548
2548:2=1274
2+3+4+..... +50
50+49+48+....+2
--------------------------
52+52+52+.......+52
nr de termeni
(50-2)+1=49
49x52=2548
2548:2=1274