2013 USAMO Problems/Problem 5: Difference between revisions
No edit summary |
|||
| Line 7: | Line 7: | ||
Without Loss of Generality, suppose <math>m \geq n \geq 1</math>. By prime factorization of <math>n</math>, we can find a positive integer <math>c_1</math> such that <math>c_1n=10^s n_1</math> where <math>n_1</math> is relatively prime to <math>10</math>. If a positive <math>k</math> is larger than <math>s</math>, then <math>(10^k c_1 m - c_1 n)= 10^s t</math>, where <math>t=10^{k-s} c_1m-n_1>0</math> is always relatively prime to <math>10</math>. | |||
Revision as of 00:05, 4 August 2020
Given postive integers
and
, prove that there is a positive integer
such that the numbers
and
have the same number of occurrences of each non-zero digit when written in base ten.
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions. Error creating thumbnail: File missing
Solution
This solution is adopted from the official solution. Both the problem and the solution were suggested by Richard Stong.
Without Loss of Generality, suppose
. By prime factorization of
, we can find a positive integer
such that
where
is relatively prime to
. If a positive
is larger than
, then
, where
is always relatively prime to
.
Choose a
large enough so that
is larger than
. We can find an integer
such that
is divisible by
, and also larger than
. For example, let
and use Euler's theorem. Now, let
, and
. We claim that
is the desired number.
Indeed, since both
and
are less than
, we see that the decimal expansion of both the fraction
and
are repeated in
-digit. And we also see that
, therefore the two repeated
-digit expansions are cyclic shift of one another.
This proves that
and
have the same number of occurrences of non-zero digits. Furthermore,
also have the same number of occurrences of non-zero digits with
.