document.write( "Question 703760: Hello, I need help to find the sum of the first 500 integers.
\n" );
document.write( "I know that the answer is 125,500 and that I need to add 500 to 1, 499+2, 498+3, 497+4, 496+5...and then to multiply by 250 (500/2), but how to put it into a formula that works for all numbers in the row, so that the sum is always 125,500?
\n" );
document.write( "The formula S=n(n+1)/2 works only for 500: S=500(500+1)/2=125,500, BUT
\n" );
document.write( "if S=499 (499+1)/2, it doesn't work.
\n" );
document.write( "Please help! \n" );
document.write( "
Algebra.Com's Answer #433719 by josgarithmetic(39621)![]() ![]() ![]() You can put this solution on YOUR website! Try the formula carefully to see that it works for both values.\r \n" ); document.write( "\n" ); document.write( "n=499, \n" ); document.write( "S=499(499+1)/2 \n" ); document.write( "=499(500)/2 \n" ); document.write( "=499(250) \n" ); document.write( "=124750\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "n=500, \n" ); document.write( "S=500(500+1)/2 \n" ); document.write( "=250(501) \n" ); document.write( "=125250\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Difference is 125250-124750=500. \n" ); document.write( "The formula works for both values of n. \n" ); document.write( " |