Sum of numbers to million

What is the answer of: 1 + 2 + 3 + 4 + 5 + 6 + 7.............................................. + 999997 + 999998 + 999999 + 1000000

There is a simple way to do this!


The answer is 500000500000.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

You can use the formula S = (n(n+1))/2
In this case, n = 1,000,000
So:
(1,000,000(1,000,000 + 1))/2
Simplify:
(1,000,000(1,000,001))/2
= 1,000,001,000,000/2
= 500,000,500,000


But last number is 10000 not 1000000 so answer should be 499999510000.

Ananya Agrahari - 3 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...