document.write( "Question 310098: How do you solve this? It is part of my homework and it provides the answer in the book but I cannot figure out how they got it, can someone please show me the steps?\r
\n" ); document.write( "\n" ); document.write( "Determine the ones digit when the expression is evaluated.\r
\n" ); document.write( "\n" ); document.write( "Problem: 34^202\r
\n" ); document.write( "\n" ); document.write( "Answer: 6
\n" ); document.write( "

Algebra.Com's Answer #221783 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Determine the ones digit when the expression is evaluated.
\n" ); document.write( "Problem: 34^202
\n" ); document.write( "-----------------
\n" ); document.write( "Look at the powers of 34, or any number whose 1's digit is 4.
\n" ); document.write( "Powers of 34:
\n" ); document.write( "34
\n" ); document.write( "1156
\n" ); document.write( "39304
\n" ); document.write( "1336336
\n" ); document.write( "45435424
\n" ); document.write( "----------
\n" ); document.write( "Notice that the 1's digit alternates between 4 and 6.
\n" ); document.write( "That's true for all numbers xxxxxx...4.
\n" ); document.write( "4
\n" ); document.write( "16
\n" ); document.write( "64
\n" ); document.write( "256
\n" ); document.write( "1024
\n" ); document.write( "4096
\n" ); document.write( "etc
\n" ); document.write( "If it's an even exponent, it's 6
\n" ); document.write( "If it's odd, it's 4.
\n" ); document.write( "
\n" ); document.write( "
\n" );