Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory junior

Problem

What are the rightmost three digits of ?
Solution
We compute the powers of 5 modulo 1000: This pattern repeats every two terms starting at the 4th term. In particular, when , and is odd, Therefore the rightmost digit of is .
Final answer
125