Difference between revisions of "2021 AIME II Problems/Problem 9"
MRENTHUSIASM (talk | contribs) m (→Proof 1 (Euclidean Algorithm)) |
MRENTHUSIASM (talk | contribs) m |
||
Line 20: | Line 20: | ||
If <math>a=b,</math> then <math>\gcd(a,b)=a=b,</math> from which the claim is clearly true. | If <math>a=b,</math> then <math>\gcd(a,b)=a=b,</math> from which the claim is clearly true. | ||
− | Otherwise, let <math>a>b</math> without the loss of generality. Note that for all integers <math>p>q>0,</math> | + | Otherwise, let <math>a>b</math> without the loss of generality. Note that for all integers <math>p>q>0,</math> the Euclidean Algorithm states that <cmath>\gcd(p,q)=\gcd(p-q,q)=\cdots=\gcd(q,p\text{ mod }q).</cmath> We apply this result repeatedly to reduce the larger number: <cmath>\gcd\left(u^a-1,u^b-1\right)=\gcd\left(u^b-1,u^a-1-u^{a-b}\left(u^b-1\right)\right)=\gcd\left(u^b-1,u^{a-b}-1\right).</cmath> |
Continuing, we will get | Continuing, we will get | ||
<cmath>\begin{align*} | <cmath>\begin{align*} | ||
Line 31: | Line 31: | ||
for some positive integer <math>d,</math> where <math>d</math> is a common divisor of <math>a</math> and <math>b.</math> | for some positive integer <math>d,</math> where <math>d</math> is a common divisor of <math>a</math> and <math>b.</math> | ||
− | From this equation, it is clear that <math>d</math> must be a linear combination of <math>a</math> and <math>b.</math> That is, there exist integers <math>x</math> and <math>y</math> for which <math>ax+by=d.</math> The smallest positive integer in the form of <math>ax+by</math> is <math>\gcd(a,b).</math> Therefore, We | + | From this equation, it is clear that <math>d</math> must be a linear combination of <math>a</math> and <math>b.</math> That is, there exist integers <math>x</math> and <math>y</math> for which <math>ax+by=d.</math> The smallest positive integer in the form of <math>ax+by</math> is <math>\gcd(a,b).</math> Therefore, We have <math>d=\gcd(a,b),</math> and the proof is complete. |
~MRENTHUSIASM | ~MRENTHUSIASM | ||
Line 45: | Line 45: | ||
~MRENTHUSIASM | ~MRENTHUSIASM | ||
− | ==See | + | ==See Also== |
{{AIME box|year=2021|n=II|num-b=8|num-a=10}} | {{AIME box|year=2021|n=II|num-b=8|num-a=10}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Revision as of 04:19, 1 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 (Generalized and Comprehensive)
Claim
If and
are positive integers for which
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 will get
for some positive integer
where
is a common divisor of
and
From this equation, it is clear that must be a linear combination of
and
That is, there exist integers
and
for which
The smallest positive integer in the form of
is
Therefore, We have
and the proof is complete.
~MRENTHUSIASM
Proof 2
Solution in progress. A million thanks for not editing.
~MRENTHUSIASM
Solution
Solution in progress. A million thanks for not editing.
~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 |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.