Difference between revisions of "2017 USAMO Problems/Problem 1"
m (→Problem) |
Mathcounts46 (talk | contribs) (→Problem) |
||
Line 2: | Line 2: | ||
Prove that there are infinitely many distinct pairs <math>(a,b)</math> of relatively prime positive integers <math>a>1</math> and <math>b>1</math> such that <math>a^b+b^a</math> is divisible by <math>a+b</math>. | Prove that there are infinitely many distinct pairs <math>(a,b)</math> of relatively prime positive integers <math>a>1</math> and <math>b>1</math> such that <math>a^b+b^a</math> is divisible by <math>a+b</math>. | ||
+ | |||
+ | == Solution == | ||
+ | Let <math>n=a+b</math>. Since <math>gcd(a,b)=1</math>, we know <math>gcd(a,n)=1</math>. We can rewrite the condition as | ||
+ | |||
+ | <cmath>a^{n-a}+(n-a)^a \equiv 0 \mod{n}</cmath> | ||
+ | <cmath>a^{n-a}\equiv-(-a)^a \mod{n}</cmath> | ||
+ | Assume <math>a</math> is odd. Since we need to prove an infinite number of pairs exist, it suffices to show that infinitely many pairs with <math>a</math> odd exist. | ||
+ | |||
+ | Then we have | ||
+ | <cmath>a^{n-a}\equiv a^a \mod{n}</cmath> | ||
+ | <cmath>1 \equiv a^{2a-n} \mod{n}</cmath> | ||
+ | |||
+ | We know by Euler's theorem that <math>a^{\varphi(n)} \equiv 1 \mod{n}</math>, so if <math>2a-n=\varphi(n)</math> we will have the required condition. | ||
+ | |||
+ | This means <math>a=\frac{n+\varphi(n)}{2}</math>. Let <math>n=2p</math> where <math>p</math> is a prime, <math>p\equiv 1\mod{4}</math>. Then <math>\varphi(n) = 2p*\left(1-\frac{1}{2}\right)\left(1-\frac{1}{p}\right) = p-1</math>, so <cmath>a = \frac{2p+p-1}{2} = \frac{3p-1}{2}</cmath> | ||
+ | Note the condition that <math>p\equiv 1\mod{4}</math> guarantees that <math>a</math> is odd, since <math>3p-1 \equiv 2\mod{4}</math> | ||
+ | |||
+ | This makes <math>b = \frac{p+1}{2}</math>. Now we need to show that <math>a</math> and <math>b</math> are relatively prime. If <math>a</math> and <math>b</math> have a common factor <math>k</math>, then we know <math>k|a+b=2p</math>. Therefore <math>k=1,2,p,</math> or <math>2p</math>. We know <math>b=\frac{p+1}{2}<p</math>, so <math>p \nmid b</math> and <math>2p\nmid b</math>. We also know <math>a</math> is odd, so <math>2\nmid a</math>. This means the only common factor <math>a</math> and <math>b</math> have is <math>1</math>, so <math>a</math> and <math>b</math> are relatively prime. | ||
+ | |||
+ | Therefore, for all primes <math>p \equiv 1\mod{4}</math>, the pair <math>\left(\frac{3p-1}{2},\frac{p+1}{2}\right)</math> satisfies the criteria, so infinitely many such pairs exist. |
Revision as of 18:33, 20 April 2017
Problem
Prove that there are infinitely many distinct pairs of relatively prime positive integers
and
such that
is divisible by
.
Solution
Let . Since
, we know
. We can rewrite the condition as
Assume
is odd. Since we need to prove an infinite number of pairs exist, it suffices to show that infinitely many pairs with
odd exist.
Then we have
We know by Euler's theorem that , so if
we will have the required condition.
This means . Let
where
is a prime,
. Then
, so
Note the condition that
guarantees that
is odd, since
This makes . Now we need to show that
and
are relatively prime. If
and
have a common factor
, then we know
. Therefore
or
. We know
, so
and
. We also know
is odd, so
. This means the only common factor
and
have is
, so
and
are relatively prime.
Therefore, for all primes , the pair
satisfies the criteria, so infinitely many such pairs exist.