Difference between revisions of "2007 USAMO Problems/Problem 1"
m (cleaned up typos and typesetting errors in Solution 1) |
(→Solution: merge solution 1 + 2, essentially saying the same thing, add solution 2 based upon talk) |
||
Line 7: | Line 7: | ||
== Solution == | == Solution == | ||
=== Solution 1 === | === Solution 1 === | ||
− | + | Define <math>\displaystyle s_k = \displaystyle \sum_{i=1}^{k} a_i</math>, and <math>b_k = \frac{s_k}{k}</math>. If <math>b_k \le k</math>, then for <math>\displaystyle k + 1</math>, <math>b_{k+1} = \frac{s_{k+1}}{k + 1} = \frac{s_k + a_{k+1}}{k+1} = \frac{b_k \cdot k + a_{k+1}}{k+1}</math>. Note that <math>\displaystyle b_k</math> is a permissible value of <math> a_{k+1} \displaystyle </math> since <math>b_k \le k = (k+1)-1</math>: if we [[substitute]] <math>\displaystyle b_k</math> for <math> a_{k+1} \displaystyle </math>, we get <math>b_{k+1} = \frac{b_k (k+1)}{k+1} = b_k</math>, the unique value for <math> a_{k+1} \displaystyle </math>. So <math>\displaystyle b_k = b_{k+1} = b_{k+2} = \cdots</math>, from which if follows that the <math>\displaystyle a_k</math>s become constant. | |
− | Now we must show that eventually <math>\displaystyle b_k \le k</math>. Suppose that <math>\displaystyle b_k > k</math> for all <math>k</math>. By definition, <math> \displaystyle \ | + | Now we must show that eventually <math>\displaystyle b_k \le k</math>. Suppose that <math>\displaystyle b_k > k</math> for all <math>\displaystyle k</math>. By definition, <math> \displaystyle \frac {s_k}{k} = b_k > k</math>, so <math>\displaystyle s_k > k^2</math>. Also, for <math>\displaystyle i>1</math>, each <math>a_i \le i-1</math> so |
+ | |||
+ | <div style="text-align:center;"><math>\displaystyle k^2 < s_k \le n + 1 + 2 + \cdots + (k-1) = n + \frac{k^2 - k}2</math> <br> | ||
+ | <math>k^2 < n +\frac{k^2 - k}2 \Longrightarrow \frac{k^2 + k}2 < n</math></div> | ||
+ | |||
+ | But <math>\displaystyle n</math> is constant while <math>\displaystyle k</math> is increasing, so eventually we will have a [[proof by contradiction|contradiction]] and <math>b_k \le k</math>. Therefore, the sequence of <math>\displaystyle a_i</math>s will become constant. | ||
=== Solution 2 === | === Solution 2 === | ||
+ | By the above, we have that | ||
− | + | <div style="text-align:center;"><math>b_{k+1} = \frac{b_k \cdot k + a_{k+1}}{k+1} = \left(\frac{k}{k+1}\right) \cdot b_k + \frac{a_{k+1}}{k+1}</math></div> | |
− | |||
− | |||
− | |||
− | |||
− | + | <math>\frac{k}{k+1} < 1</math>, and by definition, <math>\frac{a_{k+1}}{k+1} < 1</math>. Thus, <math>\displaystyle b_{k+1} < b_k + 1</math>. Also, both <math>b_k,\ b_{k+1}</math> are integers, so <math>b_{k+1} \le b_k</math>. As the <math>\displaystyle b_k</math>s form a [[non-increasing]] sequence of positive integers, they must eventually become constant. Continue as above. | |
== See also == | == See also == |
Revision as of 20:56, 30 April 2007
Problem
Let be a positive integer. Define a sequence by setting and, for each , letting be the unique integer in the range for which is divisible by . For instance, when the obtained sequence is . Prove that for any the sequence eventually becomes constant.
Solution
Solution 1
Define , and . If , then for , . Note that is a permissible value of since : if we substitute for , we get , the unique value for . So , from which if follows that the s become constant.
Now we must show that eventually . Suppose that for all . By definition, , so . Also, for , each so
But is constant while is increasing, so eventually we will have a contradiction and . Therefore, the sequence of s will become constant.
Solution 2
By the above, we have that
, and by definition, . Thus, . Also, both are integers, so . As the s form a non-increasing sequence of positive integers, they must eventually become constant. Continue as above.
See also
2007 USAMO (Problems • Resources) | ||
Preceded by First question |
Followed by Problem 2 | |
1 • 2 • 3 • 4 • 5 • 6 | ||
All USAMO Problems and Solutions |