Difference between revisions of "2023 SSMO Team Round Problems/Problem 4"
(Created page with "==Problem== Find the sum of values for prime <math>p</math> such that <math>p \mid (2023^{p^2}+(p-1)!+2^{p^4}).</math> ==Solution==") |
|||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
+ | |||
+ | We have that <math>\varphi(p) = p - 1</math>, so by Fermat’s Little Theorem, | ||
+ | <cmath>a^p \equiv a \pmod{p}.</cmath> | ||
+ | |||
+ | Thus, | ||
+ | <cmath>2023^{p^2} + 2^{p^4} \equiv 2023 + 2 \equiv 2024 \pmod{p}.</cmath> | ||
+ | |||
+ | In other words, <math>p \mid 2024</math>. The prime divisors of 2024 are <math>2</math>, <math>11</math>, and <math>23</math>, so the answer is | ||
+ | <cmath>2 + 11 + 23 = \boxed{36}.</cmath> | ||
+ | |||
+ | ~SMO_Team |
Latest revision as of 21:17, 9 September 2025
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