2006 OIM Problems/Problem 4
Problem
Find all pairs of positive integers such that
and
are relative primes and
divides
.
~translated into English by Tomas Diaz. ~orders@tomasdiaz.com
Solution
We are given that divides
; thus
must also divide
. But notice that since
, by the Euclidean Algorithm, we must also have
Clearly
; thus
. Therefore, from earlier, we know that
; what we just found implies that
This fact is equivalent to
But
which implies that
Let the expression above equal some integer
. Rearranging gives us the equation
If
, then
a contradiction. Similarly, if
, then
also a contradiction, which implies that
. Substituting into the above yields
.
Finally, we check that these solutions work. If , then
, and
thus the condition is clearly true, so our solution set is
for all positive integers
.