Asked by Hannah

If I add all the numbers from 1-100 what do I get? This question has been confusing me for a while...

Answers

Answered by Sue
901
Answered by Anonymous
you get 5050
Answered by Aman
5050
Answered by Jai
The formula for calculating the sum of consecutive number is
S = n*(a1 + an) / 2
where
n = number of terms
a1 = first number
an = last number
Since it is from 1 to 100, n = 100. Substituting,
S = 100*(1+100)/2
S = 5050

Hope this helps~ :)
Answered by Steve
You can also do it quickly as Gauss discovered when he was a child.

Consider all the numbers as if written in two lines.
1-50 ascending
100-51 descending

adding the two numbers that are in the same positions, each pair makes 101. There are 50 such pairs, so the sum is 5050.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions