MathLabs

Problem 1

Let mm and nn be positive integers with 1≤m<n1 \le m < n. In their decimal representations, the last three digits of 1978m1978^m are equal, respectively, to the last three digits of 1978n1978^n. Find mm and nn such that m+nm+n has its least value.
Step 6 of 8: Lower-bound the order using mod 5
In plain words

Any modulus-125 relation must also hold mod 5, so mod-5 behaviour trims the candidate orders.

1978≡3(mod5), ord5(3)=4  ⇒  4∣ord125(1978)1978\equiv 3 \pmod 5,\ \mathrm{ord}_5(3)=4 \;\Rightarrow\; 4 \mid \mathrm{ord}_{125}(1978)
Detailed analysis

If 1978r≡1(mod125)1978^r\equiv 1\pmod{125} then also 1978r≡1(mod5)1978^r\equiv 1\pmod 5. Since 1978≡3(mod5)1978\equiv 3\pmod 5 and 33 has order 44 modulo 55 (as 34=81≡13^4=81\equiv 1), the order modulo 125125 must be a multiple of 44, leaving only 4,20,1004, 20, 100 among the divisors of 100100.