Difference between revisions of "2021 AIME II Problems/Problem 9"
MRENTHUSIASM (talk | contribs) m (→Proof 2 (Bézout's Identity)) |
MRENTHUSIASM (talk | contribs) m (→Proof 2 (Bézout's Identity)) |
||
Line 36: | Line 36: | ||
Let <math>d=\gcd\left(u^a-1,u^b-1\right).</math> It follows that <math>u^a\equiv1\pmod{d}</math> and <math>u^b\equiv1\pmod{d}.</math> | Let <math>d=\gcd\left(u^a-1,u^b-1\right).</math> It follows that <math>u^a\equiv1\pmod{d}</math> and <math>u^b\equiv1\pmod{d}.</math> | ||
− | By Bézout's Identity, there exist integers <math>x</math> and <math>y</math> for which <math>ax+by=\gcd(a,b),</math> | + | By Bézout's Identity, there exist integers <math>x</math> and <math>y</math> for which <math>ax+by=\gcd(a,b),</math> so <cmath>u^{\gcd(a,b)}=u^{ax+by}=\left(u^a\right)^x\left(u^b\right)^y\equiv1\pmod{d},</cmath> |
from which <math>u^{\gcd(a,b)}-1\equiv0\pmod{d}.</math> We know that <math>u^{\gcd(a,b)}-1\geq d.</math> | from which <math>u^{\gcd(a,b)}-1\equiv0\pmod{d}.</math> We know that <math>u^{\gcd(a,b)}-1\geq d.</math> | ||
Revision as of 22:45, 2 April 2021
Contents
Problem
Find the number of ordered pairs such that and are positive integers in the set and the greatest common divisor of and is not .
Solution 1
We make use of the (olympiad number theory) lemma that .
Noting , we have (by difference of squares) It is now easy to calculate the answer (with casework on ) as .
~Lcz
Solution 2 (Comprehensive and Generalized)
Claim (Solution 1's Lemma)
If and are positive integers with then
There are two proofs to this claim, as shown below.
~MRENTHUSIASM
Proof 1 (Euclidean Algorithm)
If then from which the claim is clearly true.
Otherwise, let without the loss of generality. Note that for all integers the Euclidean Algorithm states that We apply this result repeatedly to reduce the larger number: Continuing, we have from which the proof is complete.
~MRENTHUSIASM
Proof 2 (Bézout's Identity)
Let It follows that and
By Bézout's Identity, there exist integers and for which so from which We know that
Next, we notice that Since is a common divisor of and we conclude that from which the proof is complete.
~MRENTHUSIASM
Solution (Detailed Explanation of Solution 1)
By the Euclidean Algorithm, we have We are given that Multiplying both sides by gives which implies that must have more factors of than does.
We construct the following table for the first positive integers: To count the ordered pairs we perform casework on the number of factors of that has:
- If has factors of then has options and has options. So, this case has ordered pairs.
- If has factor of then has options and has options. So, this case has ordered pairs.
- If has factors of then has options and has options. So, this case has ordered pairs.
- If has factors of then has options and has option. So, this case has ordered pairs.
Together, the answer is
~MRENTHUSIASM
Remark (GCD Property)
In of the solution, we use the following property of the greatest common divisor:
For positive integers and if then
As and are relatively prime (have no prime divisors in common), this property is intuitive.
~MRENTHUSIASM
See Also
2021 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.