Difference between revisions of "2021 AIME II Problems/Problem 9"
MRENTHUSIASM (talk | contribs) m (→Solution 1: Minor edits on uppercases. Also, I reformatted the equation block so that it appears much nicer.) |
MRENTHUSIASM (talk | contribs) (Prioritize the comprehensive solution. Also, made the solution more result-driven by separating the solutions and the important results.) |
||
Line 3: | Line 3: | ||
==Solution 1== | ==Solution 1== | ||
+ | This solution refers to the <b>Remarks</b> section. | ||
+ | |||
+ | By the Euclidean Algorithm, we have <cmath>\gcd\left(2^m+1,2^m-1\right)=\gcd\left(2,2^m-1\right)=1.</cmath> | ||
+ | We are given that <math>\gcd\left(2^m+1,2^n-1\right)>1.</math> Multiplying both sides by <math>\gcd\left(2^m-1,2^n-1\right)</math> gives | ||
+ | <cmath>\begin{align*} | ||
+ | \gcd\left(2^m+1,2^n-1\right)\cdot\gcd\left(2^m-1,2^n-1\right)&>\gcd\left(2^m-1,2^n-1\right) \\ | ||
+ | \gcd\left(\left(2^m+1\right)\left(2^m-1\right),2^n-1\right)&>\gcd\left(2^m-1,2^n-1\right) \hspace{12mm} &&\text{by }\textbf{Claim 2} \\ | ||
+ | \gcd\left(2^{2m}-1,2^n-1\right)&>\gcd\left(2^m-1,2^n-1\right) \\ | ||
+ | 2^{\gcd(2m,n)}-1&>2^{\gcd(m,n)}-1 &&\text{by }\textbf{Claim 1} \\ | ||
+ | \gcd(2m,n)&>\gcd(m,n), | ||
+ | \end{align*}</cmath> | ||
+ | which implies that <math>n</math> must have more factors of <math>2</math> than <math>m</math> does. | ||
+ | |||
+ | We construct the following table for the first <math>30</math> positive integers: | ||
+ | <cmath>\begin{array}{c|c|c} | ||
+ | && \\ [-2.5ex] | ||
+ | \boldsymbol{\#}\textbf{ of Factors of }\boldsymbol{2} & \textbf{Numbers} & \textbf{Count} \\ | ||
+ | \hline | ||
+ | && \\ [-2.25ex] | ||
+ | 0 & 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29 & 15 \\ | ||
+ | && \\ [-2.25ex] | ||
+ | 1 & 2,6,10,14,18,22,26,30 & 8 \\ | ||
+ | && \\ [-2.25ex] | ||
+ | 2 & 4,12,20,28 & 4 \\ | ||
+ | && \\ [-2.25ex] | ||
+ | 3 & 8,24 & 2 \\ | ||
+ | && \\ [-2.25ex] | ||
+ | 4 & 16 & 1 \\ | ||
+ | \end{array}</cmath> | ||
+ | To count the ordered pairs <math>(m,n),</math> we perform casework on the number of factors of <math>2</math> that <math>m</math> has: | ||
+ | <ol style="margin-left: 1.5em;"> | ||
+ | <li>If <math>m</math> has <math>0</math> factors of <math>2,</math> then <math>m</math> has <math>15</math> options and <math>n</math> has <math>8+4+2+1=15</math> options. So, this case has <math>15\cdot15=225</math> ordered pairs.</li><p> | ||
+ | <li>If <math>m</math> has <math>1</math> factor of <math>2,</math> then <math>m</math> has <math>8</math> options and <math>n</math> has <math>4+2+1=7</math> options. So, this case has <math>8\cdot7=56</math> ordered pairs.</li><p> | ||
+ | <li>If <math>m</math> has <math>2</math> factors of <math>2,</math> then <math>m</math> has <math>4</math> options and <math>n</math> has <math>2+1=3</math> options. So, this case has <math>4\cdot3=12</math> ordered pairs.</li><p> | ||
+ | <li>If <math>m</math> has <math>3</math> factors of <math>2,</math> then <math>m</math> has <math>2</math> options and <math>n</math> has <math>1</math> option. So, this case has <math>2\cdot1=2</math> ordered pairs.</li> | ||
+ | </ol> | ||
+ | Together, the answer is <math>225+56+12+2=\boxed{295}.</math> | ||
+ | |||
+ | ~MRENTHUSIASM | ||
+ | |||
+ | ==Solution 2== | ||
We make use of the (Olympiad Number Theory) lemma that <math>\gcd(2^a-1,2^b-1)=2^{\gcd(a,b)}-1</math>. | We make use of the (Olympiad Number Theory) lemma that <math>\gcd(2^a-1,2^b-1)=2^{\gcd(a,b)}-1</math>. | ||
Line 16: | Line 57: | ||
~Lcz | ~Lcz | ||
− | == | + | ==Remarks== |
− | ===Claim ( | + | ===Claim 1 (Olympiad Number Theory Lemma)=== |
If <math>u,a,</math> and <math>b</math> are positive integers such that <math>u\geq2,</math> then <math>\gcd\left(u^a-1,u^b-1\right)=u^{\gcd(a,b)}-1.</math> | If <math>u,a,</math> and <math>b</math> are positive integers such that <math>u\geq2,</math> then <math>\gcd\left(u^a-1,u^b-1\right)=u^{\gcd(a,b)}-1.</math> | ||
Line 24: | Line 65: | ||
~MRENTHUSIASM | ~MRENTHUSIASM | ||
− | ===Proof 1 (Euclidean Algorithm)=== | + | ===Claim 1 Proof 1 (Euclidean Algorithm)=== |
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. | ||
Line 40: | Line 81: | ||
~MRENTHUSIASM | ~MRENTHUSIASM | ||
− | ===Proof 2 (Bézout's Identity)=== | + | ===Claim 1 Proof 2 (Bézout's Identity)=== |
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> | ||
Line 55: | Line 96: | ||
~MRENTHUSIASM | ~MRENTHUSIASM | ||
− | === | + | ===Claim 2 (GCD Property)=== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
For positive integers <math>r,s,</math> and <math>t,</math> if <math>\gcd(r,s)=1,</math> then <math>\gcd(r,t)\cdot\gcd(s,t)=\gcd(rs,t).</math> | For positive integers <math>r,s,</math> and <math>t,</math> if <math>\gcd(r,s)=1,</math> then <math>\gcd(r,t)\cdot\gcd(s,t)=\gcd(rs,t).</math> | ||
Revision as of 09:54, 26 August 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
This solution refers to the Remarks section.
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
Solution 2
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
Remarks
Claim 1 (Olympiad Number Theory Lemma)
If and are positive integers such that then
There are two proofs to this claim, as shown below.
~MRENTHUSIASM
Claim 1 Proof 1 (Euclidean Algorithm)
If then from which the claim is clearly true.
Otherwise, let without the loss of generality. For all integers and such that 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
Claim 1 Proof 2 (Bézout's Identity)
Let It follows that and
By Bézout's Identity, there exist integers and such that 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
Claim 2 (GCD Property)
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.