2023 SSMO Team Round Problems/Problem 4
Problem
Find the sum of values for prime such that
Solution
We have that , so by Fermat’s Little Theorem,
Thus,
In other words, . The prime divisors of 2024 are
,
, and
, so the answer is
~SMO_Team