Difference between revisions of "2021 AIME I Problems/Problem 7"
(→Solution 2) |
(→Solution 2) |
||
Line 50: | Line 50: | ||
Now all we have to do is multiply by <math>2^p</math> to get back to <math>m</math> and <math>n</math>. Let’s organize the solutions in a table with increasing values of <math>p</math>, keeping in mind that <math>m</math> and <math>n</math> are bounded between 1 and 30. | Now all we have to do is multiply by <math>2^p</math> to get back to <math>m</math> and <math>n</math>. Let’s organize the solutions in a table with increasing values of <math>p</math>, keeping in mind that <math>m</math> and <math>n</math> are bounded between 1 and 30. | ||
− | \begin{center} | + | <math>\begin{center} |
\begin{tabular}{||ccc||} | \begin{tabular}{||ccc||} | ||
\hline | \hline | ||
− | p & Possible Solutions For <math>m, n< | + | p & Possible Solutions For </math>m, n<math> With First Linear Congruence & Possible Solutions For </math>m, n<math> With Second Linear Congruence \\[0.5ex] |
\hline\hline | \hline\hline | ||
− | 0 & <math>\{1, 5, 9, \cdots, 29\}< | + | 0 & </math>\{1, 5, 9, \cdots, 29\}<math> & </math>\{3, 7, 11, \cdots, 27\}<math> \\ |
\hline | \hline | ||
− | 1 & <math>\{2, 10, 18, 26\}< | + | 1 & </math>\{2, 10, 18, 26\}<math> & </math>\{6, 14, 22, 30\}<math> \\ |
\hline | \hline | ||
− | 2 & <math>\{4, 20\}< | + | 2 & </math>\{4, 20\}<math> & </math>\{12, 28\}<math> \\ [1ex] |
\hline | \hline | ||
\end{tabular} | \end{tabular} | ||
− | \end{center} | + | \end{center}</math> |
Revision as of 05:03, 13 March 2021
Contents
Problem
Find the number of pairs of positive integers with
such that there exists a real number
satisfying
Solution 1
The maximum value of is
, which is achieved at
for some integer
. This is left as an exercise to the reader.
This implies that , and that
and
, for integers
.
Taking their ratio, we have
It remains to find all
that satisfy this equation.
If , then
. This corresponds to choosing two elements from the set
. There are
ways to do so.
If , by multiplying
and
by the same constant
, we have that
. Then either
, or
. But the first case was already counted, so we don't need to consider that case. The other case corresponds to choosing two numbers from the set
. There are
ways here.
Finally, if , note that
must be an integer. This means that
belong to the set
, or
. Taking casework on
, we get the sets
. Some sets have been omitted; this is because they were counted in the other cases already. This sums to
.
In total, there are pairs of
.
This solution was brought to you by ~Leonard_my_dude~
Solution 2
In order for ,
.
This happens when
mod
This means that and
for any integers
and
.
As in Solution 1, take the ratio of the two equations:
Now notice that the numerator and denominator of are both odd, which means that
and
have the same power of two (the powers of 2 cancel out).
Let the common power be : then
, and
where
and
are integers between 1 and 30.
We can now rewrite the equation:
Now it is easy to tell that mod
and
mod
. However, there is another case: that
mod
and
mod
. This is because multiplying both
and
by
will not change the fraction, but each congruence will be changed to
mod
mod
.
From the first set of congruences, we find that and
can be two of
.
From the second set of congruences, we find that and
can be two of
.
Now all we have to do is multiply by to get back to
and
. Let’s organize the solutions in a table with increasing values of
, keeping in mind that
and
are bounded between 1 and 30.
$\begin{center}
\begin{tabular}{||ccc||} \hline p & Possible Solutions For$ (Error compiling LaTeX. Unknown error_msg)m, n$With First Linear Congruence & Possible Solutions For$ (Error compiling LaTeX. Unknown error_msg)m, n$With Second Linear Congruence \\[0.5ex] \hline\hline 0 &$ (Error compiling LaTeX. Unknown error_msg)\{1, 5, 9, \cdots, 29\}$&$ (Error compiling LaTeX. Unknown error_msg)\{3, 7, 11, \cdots, 27\}$\\ \hline 1 &$ (Error compiling LaTeX. Unknown error_msg)\{2, 10, 18, 26\}$&$ (Error compiling LaTeX. Unknown error_msg)\{6, 14, 22, 30\}$\\ \hline 2 &$ (Error compiling LaTeX. Unknown error_msg)\{4, 20\}$&$ (Error compiling LaTeX. Unknown error_msg)\{12, 28\}$\\ [1ex] \hline
\end{tabular} \end{center}$ (Error compiling LaTeX. Unknown error_msg)
I WILL FINISH THE SOLUTION SOON, PLEASE DO NOT EDIT THIS BEFORE THEN, THANK YOU!
-KingRavi
See also
2021 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 6 |
Followed by Problem 8 | |
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.