Difference between revisions of "2007 USAMO Problems/Problem 1"
5849206328x (talk | contribs) m |
5849206328x (talk | contribs) m |
||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
− | Let <math>n</math> be a [[positive]] [[integer]]. Define a [[sequence]] by setting <math>a_1 = n</math> and, for each <math>k>1</math>, letting <math>a_k</math> be the unique integer in the range <math>0 \le a_k \le k-1</math> for which <math>a_1 + a_2 + \cdots + a_k</math> is [[divisible]] by <math>k</math>. For instance, when <math>n=9</math> the obtained sequence is <math>9, 1, 2, 0, 3, 3, 3, \ldots</math>. Prove that for any <math>n</math> the sequence <math>a_1, a_2, a_3, \ldots</math> eventually becomes [[constant]]. | + | (''Sam Vandervelde'') Let <math>n</math> be a [[positive]] [[integer]]. Define a [[sequence]] by setting <math>a_1 = n</math> and, for each <math>k>1</math>, letting <math>a_k</math> be the unique integer in the range <math>0 \le a_k \le k-1</math> for which <math>a_1 + a_2 + \cdots + a_k</math> is [[divisible]] by <math>k</math>. For instance, when <math>n=9</math> the obtained sequence is <math>9, 1, 2, 0, 3, 3, 3, \ldots</math>. Prove that for any <math>n</math> the sequence <math>a_1, a_2, a_3, \ldots</math> eventually becomes [[constant]]. |
== Solutions == | == Solutions == | ||
Line 44: | Line 44: | ||
== See also == | == See also == | ||
+ | * <url>viewtopic.php?t=145842 Discussion on AoPS/MathLinks</url> | ||
{{USAMO newbox|year=2007|before=First Question|num-a=2}} | {{USAMO newbox|year=2007|before=First Question|num-a=2}} |
Revision as of 21:13, 6 August 2014
Problem
(Sam Vandervelde) 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.
Solutions
Solution 1
Let and
. Thus, because
,

, 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
, so eventually the sequence
becomes constant.
Solution 2
Let . Since
, we have that
.
Thus, .
Since , for some integer
, we can keep adding
to satisfy the conditions, provided that
because
.
Because , the sequence must eventually become constant.
Solution 3
Define , and
. By the problem hypothesis,
is an integer valued sequence.
Lemma: The exists a such that
.
Proof: Choose any such that
. Then:
as desired.
Let k be the smallest k such that . Then
, and
. To make
an integer,
must be divisible by
. Thus, because
is divisible by
,
, and, because
,
. Then
as well. Repeating the same process using
instead of
gives
, and an easy induction can prove that for all
,
. Thus,
becomes a constant function for arbitrarily large values of k.
Note: This solution is a formalization of the second solution. Also, the lemma could have been simplified if I chose k = n, which is exactly the second solution's thought process.
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.
See also
- <url>viewtopic.php?t=145842 Discussion on AoPS/MathLinks</url>
2007 USAMO (Problems • Resources) | ||
Preceded by First Question |
Followed by Problem 2 | |
1 • 2 • 3 • 4 • 5 • 6 | ||
All USAMO Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.