document.write( "Question 462731: how will I show that the cube of any number is in the form 7k or 7k+1 or 7k-1 \n" ); document.write( "
Algebra.Com's Answer #317155 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
Every integer falls into one of the following modulo classes
\n" ); document.write( "7n
\n" ); document.write( "7n + 1
\n" ); document.write( "7n + 2
\n" ); document.write( "7n + 3
\n" ); document.write( "7n + 4
\n" ); document.write( "7n + 5
\n" ); document.write( "7n + 6\r
\n" ); document.write( "\n" ); document.write( "For the first class, \"%287n%29%5E3+=+0%5E3+=+0%28mod7%29\", which simply says that the cube of any multiple of 7 is still divisible by 7.\r
\n" ); document.write( "\n" ); document.write( "For the 2nd class 7n + 1,
\n" ); document.write( "\"7n+%2B+1+=+-6+%28mod7%29\" ==> \"%287n%2B1%29%5E3+=+%28-6%29%5E3+=+-216+=+1+%28mod7%29\".
\n" ); document.write( "For the 3rd class 7n + 2,
\n" ); document.write( "\"7n+%2B+2+=+-5+%28mod7%29\" ==> \"%287n%2B2%29%5E3+=+%28-5%29%5E3+=+-125+=+1+%28mod7%29\".
\n" ); document.write( "For the 4nd class 7n + 3,
\n" ); document.write( "\"7n+%2B+3+=+-4+%28mod7%29\" ==> \"%287n%2B3%29%5E3+=+%28-4%29%5E3+=+-64+=+6+%28mod7%29\".
\n" ); document.write( "For the 5th class 7n + 4,
\n" ); document.write( "\"7n+%2B+4+=+-3+%28mod7%29\" ==> \"%287n%2B4%29%5E3+=+%28-3%29%5E3+=+-27+=+1+%28mod7%29\".
\n" ); document.write( "For the 6th class 7n + 5,
\n" ); document.write( "\"7n+%2B+5+=+-2+%28mod7%29\" ==> \"%287n%2B5%29%5E3+=+%28-2%29%5E3+=+8+=+1+%28mod7%29\".
\n" ); document.write( "For the 7th class 7n + 6,
\n" ); document.write( "\"7n+%2B+6+=+-1+%28mod7%29\" ==> \"%287n%2B6%29%5E3+=+%28-1%29%5E3+=+-1+=+6+%28mod7%29\".\r
\n" ); document.write( "\n" ); document.write( "In other words, the cube of any integer is either of the form 7k, 7k +1, or 7k + 6. But numbers of the form 7k + 6 are the same numbers of the form 7k - 1. The proof is complete.
\n" ); document.write( "
\n" ); document.write( "
\n" );