2021 JMPSC Invitationals Problems/Problem 13
Revision as of 15:08, 11 July 2021 by Samrocksnature (talk | contribs) (Created page with "==Problem== Let <math>p</math> be a prime and <math>n</math> be an odd integer (not necessarily positive) such that <cmath>\dfrac{p^{n+p+2021}}{(p+n)^2}</cmath> is an integer....")
Problem
Let be a prime and
be an odd integer (not necessarily positive) such that
is an integer. Find the sum of all distinct possible values of
.
Solution
Assume temporarily that . Then,
and
are both odd which implies that the numerator is odd and the denominator is even. Since an even number cannot divide an odd number, we have a contradiction. Since our claim is incorrect,
and we now wish to make
an integer. We see that the denominator is always odd, while the numerator is always even. Thus, the only possible values for
are when the denominator is
, which implies
. These correspond with
, so
for an answer of
. ~samrocksnature