document.write( "Question 485869: What is the greatest number of consecutive positive integers whose sum is 585? \n" ); document.write( "
Algebra.Com's Answer #332217 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
We can say that\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " where a and n are integers. This simplifies to\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If n = 585, then (n-1)/2 = 292 and we can set a = -291. We can check that (-291) + (-290) + ... + 291 + 292 + 293 = 585, because all the terms except 292 and 293 cancel (and 292 + 293 is obviously 585). Hence n = 585 is the greatest such number.
\n" ); document.write( "
\n" );