document.write( "Question 1209367: Find the sum of all positive integers less than 1000 ending in 3 or 4 or 5 or 8. \n" ); document.write( "
Algebra.Com's Answer #848686 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "This is a slight variation of what tutor greenestamps did.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "3+4+5+8 = 20 \n" ); document.write( "Add 10 to each item on the left side, so you're adding 40 to both sides \n" ); document.write( "13+14+15+18 = 60 \n" ); document.write( "Repeat the previous step \n" ); document.write( "23+24+25+28 = 100 \n" ); document.write( "Repeat again \n" ); document.write( "33+34+35+38 = 140 \n" ); document.write( "And so on.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The final four terms would add to 993+994+995+998 = 3980\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The right hand sides of those equations form this arithmetic sequence 20, 60, 100, 140, ..., 3980\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The first terms of each left hand side are 3,13,23,33,...,993. \n" ); document.write( "Erase the units digit to arrive at 0,1,2,3,...,99 \n" ); document.write( "This shows we have 99-0+1 = 100 equations and therefore we have 100 terms in the sequence 20, 60, 100, 140, ..., 3980\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Sn = sum of first n terms of arithmetic sequence \n" ); document.write( "Sn = (n/2)*(firstTerm + nthTerm) \n" ); document.write( "S100 = (100/2)*(20 + 3980) \n" ); document.write( "S100 = 200,000 is the final answer. \n" ); document.write( "The comma separator is there to make the single number more readable. \n" ); document.write( "Erase the comma if needed.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Another way to arrive at this answer is to say, \n" ); document.write( "Sn = (n/2)*(2*a + d*(n-1)) \n" ); document.write( "S100 = (100/2)*(2*20 + 40*(100-1)) \n" ); document.write( "S100 = 200,000 \n" ); document.write( " \n" ); document.write( " |