Trick for The Lightneing Fast Addition!
Why lightning fast speed needed?
Gauss attached 0 to the series and made pairs of numbers having addition 100.
100 + 0 = 100
99 + 1 = 100
98 + 2 = 100
97 + 3 = 100
96 + 4 = 100
95 + 5 = 100
..
..
..
..
..
..
51 + 49 = 100
This way he got 50 pair of integers (ranging in between 1-100) having sum equal to 100.
So sum of these 50 pairs = 100x50 = 5000.
And the number 50 left added to above total to get sum of integers 1 - 100 as 5000 + 50 = 5050
Comments
Post a Comment