document.write( "Question 254068: Show that only one of the numbers n, n+2, n+4 is divisible by 3. \n" ); document.write( "
Algebra.Com's Answer #186396 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You didn't say, but the only way this works is if n is an integer. Use the modulo function. returns the remainder when n is divided by m. For positive integers, the range of the modulo function is , therefore for , the range is .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So there are three possibilities regardless of the value of n:\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( "For each of the three possibilities, there is only one 0 result, hence only one of the numbers is divisible by 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If n is a negative integer, the range of is and the result is the same.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "John
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );