Difference between revisions of "1999 IMO Problems/Problem 4"
Abdulwaheed (talk | contribs) |
Abdulwaheed (talk | contribs) (→Solution) |
||
Line 9: | Line 9: | ||
Clearly we have the solutions <math>(1,p)</math> and <math>(2,2)</math>, and for every other solution <math>p \geq 3</math>. It remains to find the solutions <math>(x,p)</math> with <math>x \geq 2</math> and <math>p \geq 3</math>. We claim that in this case <math>x</math> is divisible by p and <math>x y 2p</math>, whence <math>x = p</math>. This will lead to | Clearly we have the solutions <math>(1,p)</math> and <math>(2,2)</math>, and for every other solution <math>p \geq 3</math>. It remains to find the solutions <math>(x,p)</math> with <math>x \geq 2</math> and <math>p \geq 3</math>. We claim that in this case <math>x</math> is divisible by p and <math>x y 2p</math>, whence <math>x = p</math>. This will lead to | ||
− | \[p^{p-1}|(p-1)^{p}+1=p^{2}\left(p^{p-2}-{p \choose 1}p^{p-3}+ | + | <math>\[p^{p-1}|(p-1)^{p}+1=p^{2}\left(p^{p-2}-{p \choose 1}p^{p-3}+ |
− | \cdots + -{p \choose p-3}p-{p \choose p-2}+1\right)\] | + | \cdots + -{p \choose p-3}p-{p \choose p-2}+1\right)\]</math> |
therefore, because all the terms in the brackets excepting the last one is divisible by <math>p</math>,<math>p-1 \leq 2</math>. This leaves only <math>p=3</math> and <math>x=3</math>. Let us prove now the claim. Since <math>(p-1)^{x}+1</math> is odd, so is <math>x</math> (therefore <math>x < 2p</math>). Denote by q the smallest prime divisor of <math>x</math>. <math>q|(p-1)^{x}+1</math> we get <math>(p-1)^{x} \equiv -1 \pmod {q}</math> and <math>(q,p-q)=1</math>. But <math>(x,p-q)=1</math> (from the choice of q) leads to the existence of integers <math>u,v</math> such that <math>ux+v(q-1)=1</math>, whence <math>p-1 \equiv (p-1)^{ux}</math>. <math>(p-1)^{v(q-1)} \equiv (-1)^{u} \cdot 1^{v} \equiv -1 \pmod {q}</math>, because <math>u</math> must be odd. This shows that <math>q|p</math>, therefore <math>q=p</math>. In conclusion the required solutions are <math>(2,2), (3,3)</math> and <math>(1,p)</math>, where <math>p</math> is an arbitrary prime. | therefore, because all the terms in the brackets excepting the last one is divisible by <math>p</math>,<math>p-1 \leq 2</math>. This leaves only <math>p=3</math> and <math>x=3</math>. Let us prove now the claim. Since <math>(p-1)^{x}+1</math> is odd, so is <math>x</math> (therefore <math>x < 2p</math>). Denote by q the smallest prime divisor of <math>x</math>. <math>q|(p-1)^{x}+1</math> we get <math>(p-1)^{x} \equiv -1 \pmod {q}</math> and <math>(q,p-q)=1</math>. But <math>(x,p-q)=1</math> (from the choice of q) leads to the existence of integers <math>u,v</math> such that <math>ux+v(q-1)=1</math>, whence <math>p-1 \equiv (p-1)^{ux}</math>. <math>(p-1)^{v(q-1)} \equiv (-1)^{u} \cdot 1^{v} \equiv -1 \pmod {q}</math>, because <math>u</math> must be odd. This shows that <math>q|p</math>, therefore <math>q=p</math>. In conclusion the required solutions are <math>(2,2), (3,3)</math> and <math>(1,p)</math>, where <math>p</math> is an arbitrary prime. |
Latest revision as of 06:18, 17 July 2025
Problem
Determine all pairs of positive integers such that
is a prime,
not exceeded
, and
is divisible by
Solution
This problem needs a solution. If you have a solution for it, please help us out by adding it. official solution
Clearly we have the solutions and
, and for every other solution
. It remains to find the solutions
with
and
. We claim that in this case
is divisible by p and
, whence
. This will lead to
$\[p^{p-1}|(p-1)^{p}+1=p^{2}\left(p^{p-2}-{p \choose 1}p^{p-3}+ \cdots + -{p \choose p-3}p-{p \choose p-2}+1\right)\]$ (Error compiling LaTeX. Unknown error_msg)
therefore, because all the terms in the brackets excepting the last one is divisible by ,
. This leaves only
and
. Let us prove now the claim. Since
is odd, so is
(therefore
). Denote by q the smallest prime divisor of
.
we get
and
. But
(from the choice of q) leads to the existence of integers
such that
, whence
.
, because
must be odd. This shows that
, therefore
. In conclusion the required solutions are
and
, where
is an arbitrary prime.
See Also
1999 IMO (Problems) • Resources | ||
Preceded by Problem 3 |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Problem 5 |
All IMO Problems and Solutions |