document.write( "Question 936884: The sum of 4 consecutive whole numbers is 2014. What is the sum of all the digits of these numbers?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #570348 by srinivas.g(540)\"\" \"About 
You can put this solution on YOUR website!
let x,x+1,x+2,x+4 be the 4 consecutive whole numbers
\n" ); document.write( " sum = x+(x+1)+(x+2)+(x+3)
\n" ); document.write( " = x+x+1+x+2+x+3
\n" ); document.write( " = 4x+6
\n" ); document.write( " 4x+6 = 2014
\n" ); document.write( " 4x= 2014-6
\n" ); document.write( " 4x= 2008
\n" ); document.write( " divide with 4 on both sides
\n" ); document.write( " \"+4x%2F4++=+2008%2F4\"
\n" ); document.write( " \"+x=+502\"
\n" ); document.write( " so the four numbers are as follows
\n" ); document.write( " x= 502
\n" ); document.write( " x+1 = 502+1 = 503
\n" ); document.write( " x+2 = 504
\n" ); document.write( " x+3 = 505
\n" ); document.write( "numbers are = 502,503,504,505
\n" ); document.write( " sum of digits of all numbers = 5+0+2+5+0+3+5+0+4+5+0+5
\n" ); document.write( " =34
\n" ); document.write( " Result : 34
\n" ); document.write( "
\n" ); document.write( "
\n" );