Problem 1
Let and be positive integers with . In their decimal representations, the last three digits of are equal, respectively, to the last three digits of . Find and such that has its least value.
Step 5 of 8: Euler's theorem bounds the multiplicative order
In plain words
The order of an element always divides the group's exponent, here φ(125) = 100.
Detailed analysis
Euler's theorem gives with , so the least satisfying the congruence is the multiplicative order , which must divide .