Difference between revisions of "2024 IMO Problems/Problem 2"
Brandonyee (talk | contribs) (→Solution 1) |
Quantumraven (talk | contribs) (→Solution 1) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
First, <math>(1,1)</math> works with <math>g=2</math>. Now for any solution <math>(a,b)</math>: | First, <math>(1,1)</math> works with <math>g=2</math>. Now for any solution <math>(a,b)</math>: | ||
− | + | Lemma : | |
<math>g = \gcd(a,b)</math> or <math>g = 2\gcd(a,b)</math>. | <math>g = \gcd(a,b)</math> or <math>g = 2\gcd(a,b)</math>. | ||
− | |||
− | + | Proof : | |
Since <math>g</math> divides both <math>a^N+b</math> and <math>a^{N+1}+b</math>, it divides their difference <math>a^N(a-1)</math>. Similarly, <math>g</math> divides <math>b^N(b-1)</math>. Thus <math>g</math> divides <math>a-b</math>, so <math>g</math> divides <math>a^N+b-(a-b)=a^N+a</math>. Hence <math>g</math> divides <math>\gcd(a^N+a,a)=\gcd(a,a-1)=1</math>, a contradiction unless <math>g</math> divides both <math>a</math> and <math>b</math>. | Since <math>g</math> divides both <math>a^N+b</math> and <math>a^{N+1}+b</math>, it divides their difference <math>a^N(a-1)</math>. Similarly, <math>g</math> divides <math>b^N(b-1)</math>. Thus <math>g</math> divides <math>a-b</math>, so <math>g</math> divides <math>a^N+b-(a-b)=a^N+a</math>. Hence <math>g</math> divides <math>\gcd(a^N+a,a)=\gcd(a,a-1)=1</math>, a contradiction unless <math>g</math> divides both <math>a</math> and <math>b</math>. | ||
− | |||
Let <math>d=\gcd(a,b)</math> and write <math>a=dx</math>, <math>b=dy</math> with <math>\gcd(x,y)=1</math>. Then | Let <math>d=\gcd(a,b)</math> and write <math>a=dx</math>, <math>b=dy</math> with <math>\gcd(x,y)=1</math>. Then |
Latest revision as of 21:33, 5 September 2025
Find all positive integer pairs such that there exists positive integer
holds for all integer
.
Contents
Solution 1
We will determine all pairs of positive integers such that
for all
.
First, works with
. Now for any solution
:
Lemma :
or
.
Proof :
Since divides both
and
, it divides their difference
. Similarly,
divides
. Thus
divides
, so
divides
. Hence
divides
, a contradiction unless
divides both
and
.
Let and write
,
with
. Then
Using Euler's theorem, for where
, we have:
Similarly, . Since these are divisible by
, and
must divide
, we must have
, giving
.
~brandonyee
Video Solution
https://www.youtube.com/watch?v=VXFG1t_ksfI (including motivation to derive solution)
Video Solution(Fermat's little theorem,In English)
Video Solution(Fermat's little theorem,In Chinese)
Video Solution
See Also
2024 IMO (Problems) • Resources | ||
Preceded by Problem 1 |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Problem 3 |
All IMO Problems and Solutions |