Răspuns :
S = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9
S = 9 × ( 1 + 9 ) / 2
S = 9 × 10 / 2
S = 90 / 2
S = 45
_________________
sau folosim asociativitatea adunarii
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 = 45
= ( 1 + 9 ) + ( 2 + 8 ) + ( 3 + 7 ) + ( 4 + 6 ) + 5 =
= 10 + 10 + 10 + 10 + 5 =
= 45 → suma primelor 9 numere naturale diferite de 0