What is the remainder when 15487^(62177037) is divided by 5?
Choose the correct choice.
A) 0
B) 1
C) 2
D) 3
E) 4
We need to find the units digit of the number.   The units digit of powers of seven repeats 7, 9, 3, and 1 cyclically.   Since 62177037 has the form 4a+1, the units digit is 7.   Then the remainder when dividing by 5 is 2.   The answer is 2.
<result>C</result>
What is the remainder when 15487^(62177037) is divided by 5?