2024 SSMO Team Round Problems/Problem 12
Problem
What is the smallest positive integer with 3 positive prime factors such that for all integers
,
?
Solution
Let the prime factors of be
,
, and
. For this to be true, note that
and similarly with
and
. Obviously
has to be squarefree, so
. WLOG let
. It is easy to see that if
is one of the factors we have a contradiction. We can arrive at similar contradictions with pairs of factors such as
and
. This eliminates most possibilities, so we can manually check triples now.
does not work, and neither does
. Finally, we note that
does indeed work, and our answer is
.
~SMO_Team