document.write( "Question 984660: Here Are Two Problems I Am Having Trouble With:\r
\n" ); document.write( "\n" ); document.write( "1. How many integers greater than 5 but less than 40 are divisible by 2, 3, or both?\r
\n" ); document.write( "\n" ); document.write( "2. How many integers from 42 to 92, inclusive, have a remainder of 4 when divided by 6? \r
\n" ); document.write( "\n" ); document.write( "Thanks, please show me your work!
\n" ); document.write( "

Algebra.Com's Answer #605540 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Greater than 5 but less than 40 is in the inclusive range 6 to 39, a total of 39 minus 6 plus 1 = 34 numbers. Half of these, 17, are divisible by 2. One-third of these, (11 and a fraction so round up) 12, are divisible by 3. And one-sixth of these, (5 and a fraction so round up) 6, are divisible by 6. But if a number is divisible by 6 it is also divisible by both 2 and 3, so subtract 6 of the 17 that are divisible by 2, and 6 of the 12 that are divisible by 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Altogether 11 + 6 + 6 = 23 \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "John
\n" ); document.write( "
\n" ); document.write( "My calculator said it, I believe it, that settles it\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );