document.write( "Question 357250: what is the remainder when 3^31 is divided by 10? \n" ); document.write( "
Algebra.Com's Answer #255146 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
\"3%5E1+=+3+mod10\",
\n" ); document.write( "\"3%5E2+=+9+mod10\",
\n" ); document.write( "\"3%5E3+=+7+mod10\",
\n" ); document.write( "\"3%5E4+=+1+mod10\".
\n" ); document.write( "\"3%5E31+=+3%5E28%2A3%5E3+=+%283%5E4%29%5E7%2A3%5E3++=1%2A7+mod10+=+7+mod+10\".
\n" ); document.write( "Therefore the remainder is 7.
\n" ); document.write( "
\n" );