answersLogoWhite

0


Best Answer

Method 1 (Sum of the first n numbers): The sum of the first n positive integers is n(1 + n)/2 So the sum would be 1,000,000 * (1,000,001)/2 = 500,000,500,000. Method 2 (Algebraic Solution): Let x be the sum of the numbers 1 through 1,000,000. x = 1 + 2 + ... + 999,999 + 1,000,000. x = 1,000,000 + 999,999 + ... + 2 + 1 Adding these equations gives: 2x = 1,000,001 + 1,000,001 + ... + 1,000,001 + 1,000,001 Note that there are 1,000,000 different 1,000,001's in the above equation. So: 2x = 1,000,001(1,000,000) = 1,000,001,000,000 x = 500,000,500,000.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is sum of the numbers 1 through 1000000?
Write your answer...
Submit
Still have questions?
magnify glass
imp