2016 OIM Problems/Problem 1
Problem
Find all positive prime numbers such that
~translated into English by Tomas Diaz. ~orders@tomasdiaz.com
Solution
The given is equivalent to . Notice that only zero or one of
can be even since otherwise, the left-hand side would be divisible by
when the right-hand side is not. Then WLOG let
and
be odd primes. If
is also an odd prime, then taking mod
of both sides results in
, which is obviously not true; thus
. Then
, so taking mod
results in
.
Let and
; by trial and error, the only solutions to the equation are
; this would imply that
. However, notice that due to mod
, one of
must be divisible by
when analyzing the four solutions. Both
and
would require one of
to be divisible by
but not equal to
itself (since
); thus we only consider
.
WLOG consider . Then
, so the initial equation becomes
. This implies that
, so
and
. Thus the solutions to the equation are
.