AoPSWiki
NEW! NEW! NEW!
Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's NEW Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!
Personal tools

2007 USAMO Problems/Problem 1

From AoPSWiki

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.

Contents


Solution

Solution 1

Define , and . If , then for , 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}. Note that is a permissible value of since : if we substitute for , we get b_{k+1} = \frac{b_k (k+1)}{k+1} = b_k, the unique value for . So b_k = b_{k+1} = b_{k+2} = \cdots, 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

k^2 <  s_k \le n + 1 + 2 + \cdots + (k-1) = n + \frac{k^2 - k}2
k^2 < n +\frac{k^2 - k}2  \Longrightarrow \frac{k^2 + k}2 < n

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

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}

, 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.

Therefore, for some sufficiently large value of . Then a_{k+1} = s_{k+1} - s_k = b_k(k + 1) - b_k(k) = b_k, so eventually the sequence becomes constant.

Solution 3

Let . Since , we have that a_1+a_2+a_3+\hdots+a_n\le n+1+2+\hdots+n-1.

Thus, a_1+a_2+\hdots+a_n\le \frac{n(n+1)}{2}.

Since , for some integer , we can keep adding to satisfy the conditions, provided that because .

Because , the sequence must eventually become constant.

See also

2007 USAMO (Problems)
Preceded by
First question
1 2 3 4 5 6 Followed by
Problem 2
Want to learn how to tackle those tough MATHCOUNTS and AMC counting and probability problems? Check out Art of Problem Solving's Introduction to Counting & Probability by David Patrick.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us