document.write( "Question 1158265: When the teacher divided her students into groups of four, she had three students remaining, when she divided them into groups of five , she had four students remaining. There were fewer than 40 students in the class. How many students could be in the class? \n" ); document.write( "
Algebra.Com's Answer #781171 by josgarithmetic(39616)\"\" \"About 
You can put this solution on YOUR website!
19 students\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Done using lists, very crude, not the best method
\n" ); document.write( "Better way is possible\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "DIV 4, r 3       DIV 5, r 4\r\n" );
document.write( "  7               9\r\n" );
document.write( " 11              14\r\n" );
document.write( " 15              19\r\n" );
document.write( " 19\r\n" );
document.write( " 23\r\n" );
document.write( "\r\n" );
document.write( "First value found common to both is 19.\r\n" );
document.write( "
\n" ); document.write( "
\n" );