👤

Calculati cu Suma Gauss:1+2+3+....+100 si 2+4+6+........+100

Răspuns :

n*(n+1)/2
1+2+3+...+100=100*101/2=50*101=5050
2+4+6+...+100=2(1+2+3+...+50)=2(50*51/2)=50*51=2550