Difference between revisions of "2013 AIME II Problems/Problem 14"
(→Solution) |
m |
||
(16 intermediate revisions by 11 users not shown) | |||
Line 4: | Line 4: | ||
==Solution== | ==Solution== | ||
− | === | + | ===The Pattern=== |
We can find that | We can find that | ||
Line 28: | Line 28: | ||
<math>100\equiv 32 \pmod{34}</math> | <math>100\equiv 32 \pmod{34}</math> | ||
− | So the sum is <math> | + | So the sum is <math>6+3\times(6+...+31)+31+32=1512</math>,it is also 17+20+23+...+95, so the answer is <math>\boxed{512}</math>. |
+ | By: Kris17 | ||
+ | |||
+ | ===The Intuition=== | ||
+ | First, let's see what happens if we remove a restriction. Let's define <math>G(x)</math> as | ||
+ | |||
+ | <math>G(x):=\max_{\substack{1\le k}} f(n, k)</math> | ||
+ | |||
+ | Now, if you set <math>k</math> as any number greater than <math>n</math>, you get n, obviously the maximum possible. That's too much freedom; let's restrict it a bit. Hence <math>H(x)</math> is defined as | ||
+ | |||
+ | <math>H(x):=\max_{\substack{1\le k\le n}} f(n, k)</math> | ||
+ | |||
+ | Now, after some thought, we find that if we set <math>k=\lfloor \frac{n}{2} \rfloor+1</math> we get a remainder of <math>\lfloor \frac{n-1}{2} \rfloor</math>, the max possible. Once we have gotten this far, it is easy to see that the original equation, | ||
+ | |||
+ | <math>F(n) = \max_{\substack{1\le k\le \frac{n}{2}}} f(n, k)</math> | ||
+ | |||
+ | has a solution with <math>k=\lfloor \frac{n}{3} \rfloor+1</math>. | ||
+ | |||
+ | <math>W^5</math>~Rowechen | ||
===The Proof=== | ===The Proof=== | ||
Line 34: | Line 52: | ||
Consider the case where <math>x = 3k</math>. We shall prove that <math>F(x) = f(x, k+1)</math>. | Consider the case where <math>x = 3k</math>. We shall prove that <math>F(x) = f(x, k+1)</math>. | ||
− | For all <math>x/2 | + | For all <math>x/2\ge n > k+1, x = 2n + q</math>, where <math>0\le q< n</math>. This is because <math>x < 3k + 3 < 3n</math> and <math>x \ge 2n</math>. Also, as <math>n</math> increases, <math>q</math> decreases. Thus, <math>q = f(x, n) < f(x, k+1) = k - 2</math> for all <math>n > k+1</math>. |
Consider all <math>n < k+1. f(x, k) = 0</math> and <math>f(x, k-1) = 3</math>. Also, <math>0 < f(x, k-2) < k-2</math>. Thus, for <math>k > 5, f(x, k+1) > f(x, n)</math> for <math>n < k+1</math>. | Consider all <math>n < k+1. f(x, k) = 0</math> and <math>f(x, k-1) = 3</math>. Also, <math>0 < f(x, k-2) < k-2</math>. Thus, for <math>k > 5, f(x, k+1) > f(x, n)</math> for <math>n < k+1</math>. | ||
− | Similar proofs apply for <math>x = 3k + 1</math> and <math>x = 3k + 2</math>. The reader should feel free to derive these proofs | + | Similar proofs apply for <math>x = 3k + 1</math> and <math>x = 3k + 2</math>. The reader should feel free to derive these proofs themself. |
===Generalized Solution=== | ===Generalized Solution=== | ||
− | <math>Lemma:</math> Highest remainder when <math>n</math> is divided by <math>1 | + | <math>Lemma:</math> Highest remainder when <math>n</math> is divided by <math>1\leq k\leq n/2</math> is obtained for <math>k_0 = (n + (3 - n \pmod{3}))/3</math> and the remainder thus obtained is <math>(n - k_0*2) = [(n - 6)/3 + (2/3)*n \pmod{3}]</math>. |
− | <math>Note:</math> This is the second highest remainder when <math>n</math> is divided by <math>1 | + | <math>Note:</math> This is the second highest remainder when <math>n</math> is divided by <math>1\leq k\leq n</math> and the highest remainder occurs when <math>n</math> is divided by <math>k_M</math> = <math>(n+1)/2</math> for odd <math>n</math> and <math>k_M</math> = <math>(n+2)/2</math> for even <math>n</math>. |
Using the lemma above: | Using the lemma above: | ||
Line 53: | Line 71: | ||
So the answer is <math>\boxed{512}</math> | So the answer is <math>\boxed{512}</math> | ||
− | Proof of Lemma: It is similar to <math>The Proof</math> stated above. | + | Proof of Lemma: It is similar to <math>The Proof</math> stated above. |
+ | |||
+ | Kris17 | ||
+ | |||
+ | |||
+ | ==Video Solution== | ||
+ | |||
+ | https://youtu.be/mQ4_1dp8Wm8?si=Ae5HAc0cZQAjdtWl | ||
+ | |||
+ | ~MathProblemSolvingSkills.com | ||
+ | |||
==See Also== | ==See Also== | ||
{{AIME box|year=2013|n=II|num-b=13|num-a=15}} | {{AIME box|year=2013|n=II|num-b=13|num-a=15}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 17:41, 26 June 2024
Contents
Problem 14
For positive integers and , let be the remainder when is divided by , and for let . Find the remainder when is divided by .
Solution
The Pattern
We can find that
Observing these and we can find that the reminders are in groups of three continuous integers, considering this is true, and we get
So the sum is ,it is also 17+20+23+...+95, so the answer is . By: Kris17
The Intuition
First, let's see what happens if we remove a restriction. Let's define as
Now, if you set as any number greater than , you get n, obviously the maximum possible. That's too much freedom; let's restrict it a bit. Hence is defined as
Now, after some thought, we find that if we set we get a remainder of , the max possible. Once we have gotten this far, it is easy to see that the original equation,
has a solution with .
~Rowechen
The Proof
The solution presented above does not prove why is found by dividing by . Indeed, that is the case, as rigorously shown below.
Consider the case where . We shall prove that . For all , where . This is because and . Also, as increases, decreases. Thus, for all . Consider all and . Also, . Thus, for for .
Similar proofs apply for and . The reader should feel free to derive these proofs themself.
Generalized Solution
Highest remainder when is divided by is obtained for and the remainder thus obtained is .
This is the second highest remainder when is divided by and the highest remainder occurs when is divided by = for odd and = for even .
Using the lemma above:
So the answer is
Proof of Lemma: It is similar to stated above.
Kris17
Video Solution
https://youtu.be/mQ4_1dp8Wm8?si=Ae5HAc0cZQAjdtWl
~MathProblemSolvingSkills.com
See Also
2013 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 13 |
Followed by Problem 15 | |
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.