Difference between revisions of "2021 JMPSC Invitationals Problems/Problem 13"

(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....")
 
Line 4: Line 4:
 
==Solution==
 
==Solution==
 
Assume temporarily that <math>p \neq 2</math>. Then, <math>p</math> and <math>n</math> 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, <math>p=2</math> and we now wish to make <cmath>\frac{2^{n+2023}}{(n+2)^2}</cmath> an integer. We see that the denominator is always odd, while the numerator is always even. Thus, the only possible values for <math>n</math> are when the denominator is <math>1,-1</math>, which implies <math>n=-1,-3</math>. These correspond with <math>p=2</math>, so <math>pn=-2,-6</math> for an answer of <math>-8</math>. ~samrocksnature
 
Assume temporarily that <math>p \neq 2</math>. Then, <math>p</math> and <math>n</math> 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, <math>p=2</math> and we now wish to make <cmath>\frac{2^{n+2023}}{(n+2)^2}</cmath> an integer. We see that the denominator is always odd, while the numerator is always even. Thus, the only possible values for <math>n</math> are when the denominator is <math>1,-1</math>, which implies <math>n=-1,-3</math>. These correspond with <math>p=2</math>, so <math>pn=-2,-6</math> for an answer of <math>-8</math>. ~samrocksnature
 +
 +
==See also==
 +
#[[2021 JMPSC Invitational Problems|Other 2021 JMPSC Invitational Problems]]
 +
#[[2021 JMPSC Invitational Answer Key|2021 JMPSC Invitational Answer Key]]
 +
#[[JMPSC Problems and Solutions|All JMPSC Problems and Solutions]]
 +
{{JMPSC Notice}}

Revision as of 16:29, 11 July 2021

Problem

Let $p$ be a prime and $n$ be an odd integer (not necessarily positive) such that \[\dfrac{p^{n+p+2021}}{(p+n)^2}\] is an integer. Find the sum of all distinct possible values of $p \cdot n$.

Solution

Assume temporarily that $p \neq 2$. Then, $p$ and $n$ 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, $p=2$ and we now wish to make \[\frac{2^{n+2023}}{(n+2)^2}\] an integer. We see that the denominator is always odd, while the numerator is always even. Thus, the only possible values for $n$ are when the denominator is $1,-1$, which implies $n=-1,-3$. These correspond with $p=2$, so $pn=-2,-6$ for an answer of $-8$. ~samrocksnature

See also

  1. Other 2021 JMPSC Invitational Problems
  2. 2021 JMPSC Invitational Answer Key
  3. All JMPSC Problems and Solutions

The problems on this page are copyrighted by the Junior Mathematicians' Problem Solving Competition. JMPSC.png