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 1 of 8: Translate the digit condition into a congruence
In plain words
"Same last three digits" is just congruence mod 1000 in disguise.
Detailed analysis
Two positive integers have the same last three decimal digits exactly when their difference is a multiple of . Applying this to and and factoring out gives the equivalent multiplicative condition.