International Mathematical Olympiad 1978 Problem 1
and are natural numbers 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.
and are natural numbers 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.