The Summation Shortcut

Algebra Level 2

1 + 2 + 3 + 4 + + 999998 + 999999 + 1000000 = ? \large 1 + 2 + 3 + 4 +\cdots+ 999998 + 999999 + 1000000 = \, ?


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

Gian Tuazon
Mar 21, 2016

This is known as Gauss' Trick , and the formula is:

( x ( x + 1 ) ) 2 \dfrac{(x(x+1))}{2}

( 1000000 ( 1000000 + 1 ) ) 2 \dfrac{(1000000(1000000+1))}{2}

( 1000000 ) ( 1000001 ) ) 2 \dfrac{(1000000)(1000001))}{2}

= 500000500000 = 500000500000

This could also work as a function, wherein:

f ( x ) = f(x) = ( x ( x + 1 ) ) 2 \dfrac{(x(x+1))}{2}

In which you can replace x x with any integer, and the output with be the summation from 1 1 to x x

@Gian Tuazon , I think you interchanged x with 1 in your solution. (2nd step) [1000000(100000+1)]/2 {x = 1000000}

Angela Fajardo - 5 years, 2 months ago

Log in to reply

Ah yes, i didn't notice, thanks for the fix!

Gian Tuazon - 5 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...