Difference between revisions of "2017 USAMO Problems/Problem 1"
(Added second solution) |
Gradysocool (talk | contribs) (→Solution 1) |
||
Line 19: | Line 19: | ||
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> | 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. | + | 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. We see that |
+ | <cmath>gcd(\frac{3p-1}{2},\frac{p+1}2)=\frac{gcd(3p-1,p+1)}{2}</cmath> | ||
+ | <cmath>=\frac{gcd(p+1,4)}{2}=\frac22=1</cmath> | ||
+ | By the Euclidean Algorithm. | ||
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. | 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 07:40, 21 April 2017
Problem
Prove that there are infinitely many distinct pairs of relatively prime positive integers and such that is divisible by .
Solution 1
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. We see that By the Euclidean Algorithm.
Therefore, for all primes , the pair satisfies the criteria, so infinitely many such pairs exist.
Solution 2
Take . It is obvious (use the Euclidean Algorithm, if you like), that , and that .
Note that
So
Since , all such pairs work, and we are done.