👤

calculati 1+2+3+...+50

Răspuns :

Suma Gauss
1+2+3+...+50
S=[tex] \frac{n*(n+1)}{2} [/tex] 
Unde n=50 => S= [tex] \frac{50*51}{2} [/tex]
S=1275
S= n(n+1) totul pe 2
50x51 totul pe 2=2550:2=1275