Difference between revisions of "2021 AIME II Problems/Problem 15"
MRENTHUSIASM (talk | contribs) (→Solution 2 (More Variables)) |
MRENTHUSIASM (talk | contribs) m (→Solution 2 (More Variables)) |
||
Line 56: | Line 56: | ||
p+1&<q. &\hspace{5.5mm}(9) | p+1&<q. &\hspace{5.5mm}(9) | ||
\end{align*}</cmath> | \end{align*}</cmath> | ||
− | Combining <math>(8)</math> and <math>(9) | + | Combining <math>(8)</math> and <math>(9)</math> produces the compound inequality <cmath>p+1<q<2k+2. \hspace{34.625mm}(10)</cmath> |
Note that if we start with <math>k^2<\underbrace{(k+1)^2-p}_{\text{by }(1)}</math> instead, then we get <math>p<2k+1</math> and <math>p<q-1,</math> both of which agree with <math>(10).</math> | Note that if we start with <math>k^2<\underbrace{(k+1)^2-p}_{\text{by }(1)}</math> instead, then we get <math>p<2k+1</math> and <math>p<q-1,</math> both of which agree with <math>(10).</math> | ||
Line 71: | Line 71: | ||
\geq41 & \geq44 & \geq22 & \checkmark \\ | \geq41 & \geq44 & \geq22 & \checkmark \\ | ||
\end{array}</cmath> | \end{array}</cmath> | ||
− | Finally, we have <math>(p,q,k)=(31,33,16).</math> Substituting this result into either <math>(1)</math> or <math>(3)</math> | + | Finally, we have <math>(p,q,k)=(31,33,16).</math> Substituting this result into either <math>(1)</math> or <math>(3)</math> generates <math>n=\boxed{258}.</math> |
<u><b>Remark</b></u> | <u><b>Remark</b></u> |
Revision as of 16:22, 12 May 2021
Problem
Let and be functions satisfying and for positive integers . Find the least positive integer such that .
Solution 1
Consider what happens when we try to calculate where n is not a square. If for (positive) integer k, recursively calculating the value of the function gives us . Note that this formula also returns the correct value when , but not when . Thus for .
If , returns the same value as . This is because the recursion once again stops at . We seek a case in which , so obviously this is not what we want. We want to have a different parity, or have the same parity. When this is the case, instead returns .
Write , which simplifies to . Notice that we want the expression to be divisible by 3; as a result, . We also want n to be strictly greater than , so . The LHS expression is always even (why?), so to ensure that k and n share the same parity, k should be even. Then the least k that satisfies these requirements is , giving .
Indeed - if we check our answer, it works. Therefore, the answer is .
-Ross Gao
Solution 2 (More Variables)
We restrict in which for some positive integer or for some nonnegative integer By observations, we get If and have the same parity, then starting with we get by a similar process. This contradicts the precondition Therefore, and must have different parities, from which and must have the same parity.
Along with the earlier restriction, we obtain or for some positive integer By observations, we get By and we have From and equating the expressions for gives Solving for produces We substitute into then simplify, cross-multiply, and rearrange: Since we know that must be divisible by and must be divisible by Furthermore, rewriting the restriction in terms of and gives Combining and produces the compound inequality
Note that if we start with instead, then we get and both of which agree with
In order to minimize we should minimize By we should minimize and From and we construct the following table: Finally, we have Substituting this result into either or generates
Remark
We can verify that
~MRENTHUSIASM
Video Solution
See also
2021 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 14 |
Followed by Last Question | |
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.