Difference between revisions of "2006 AIME I Problems/Problem 15"
Boxtheanswer (talk | contribs) m (→Solution 2) |
Technodoggo (talk | contribs) |
||
Line 58: | Line 58: | ||
~ Spacesam | ~ Spacesam | ||
+ | |||
+ | == Solution 5 == | ||
+ | |||
+ | We will work our way from <math>|x_0|</math> to <math>|x_0+x_1|</math> to <math>|x_0+x_1+x_2+\dots+x_{2006}|</math>. Let the sum <math>|x_0+x_1+x_2+\dots+x_i|=S_i</math>. | ||
+ | |||
+ | Seeing as the value for the sum we want is always nonnegative, the best pseudo-strategy would be to stay as close to <math>0</math> as possible as we increase <math>i</math> to eventually get to <math>i=2006</math>. It turns out that a greedy algorithm works here. Let us start with some smaller values of <math>i</math>. | ||
+ | |||
+ | Note that we can describe <math>x_{k+1}</math> in terms of <math>x_k</math> in the following way: take <math>x_k</math>, add <math>3</math>, and either multiply by <math>-1</math> or not. | ||
+ | |||
+ | We know that <math>S_0=0</math>. When we get to <math>S_1</math>, we add in <math>x_1</math>, which is either <math>3</math> or <math>-3</math>. It does not make a difference which one we choose, so we can choose <math>3</math> for convenience. Now, <math>S_1=3</math>. <math>x_2</math> is either <math>\pm6</math>; adding <math>6</math> would take us farther away from <math>0</math>, but adding <math>-6</math> is an okay move. Thus, let <math>x_2=-6</math>, so <math>S_2=-3</math>. | ||
+ | |||
+ | <math>x_3</math> is <math>\pm3</math>. Adding <math>3</math> is clearly the right choice here, which takes us to <math>0</math>. Thus, <math>x_3=3</math> and <math>S_3=0</math>. | ||
+ | |||
+ | Let us look at how this greedy algorithm performs in general. | ||
+ | |||
+ | <math>\begin{tabular}[t]{c|ccccccc} | ||
+ | S_i&3a&-3&3a-3&-6&3a-6&-9&\cdots\ | ||
+ | x_i&3a&-3a-3&3a&-3a-3&3a&-3a-3&\cdots\ | ||
+ | \end{tabular}</math> | ||
+ | |||
+ | (the table doesn't work; if you desire, please to go [https://artofproblemsolving.com/texer/zzyacvnp https://artofproblemsolving.com/texer/zzyacvnp] to view) | ||
+ | |||
+ | The sums alternate between separate arithmetic sequences. One of them is of particular interest to us: specifically, the one that goes <math>3a,3a-3,3a-6,\cdots</math>, because it will eventually become <math>0</math>. One can then derive using simple algebra how long it will take to reach zero, depending on <math>a</math>; it turns out that it takes <math>2a+1</math> for each cycle to complete. We can then see that <math>S_{k^2-1}=0</math> for positive integers <math>k</math>; thus, <math>S_{1935}=0</math>. We can then go through our algorithm, and it turns out that <math>S_{2006}=\boxed{027}</math>. | ||
+ | |||
+ | ~Technodoggo (sorry for the rushed solution!) | ||
== See also == | == See also == | ||
{{AIME box|year=2006|n=I|num-b=14|after=Last Question}} | {{AIME box|year=2006|n=I|num-b=14|after=Last Question}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 17:02, 20 September 2024
Problem
Given that a sequence satisfies and for all integers find the minimum possible value of
Contents
[hide]Solutions
Solution 1
Suppose . We have So Now Therefore This lower bound can be achieved if we use , , , , and so on until , after which we let so that . So
Solution 2
First, we state that iff , and iff , . Now suppose for some . Now, this means that , and so the number of positive numbers in the set equals the number of negative numbers. Now pair the numbers in this list up in the following way: Whenever a positive and a negative number are adjacent in this progression, pair them up and remove them from this list. We claim that every pair will sum to -3.
If the positive number comes first, then the negative number will have a magnitude three greater, so this is true. If the negative number comes first, then the positive number will have magnitude three smaller, and this will also be true. Now let us examine what happens when we remove those two from the sequence. WLOG, let the numbers be and . Since one is positive and the other is negative, . So the new sequence works under the same criteria as the old one. In this way, we can pair all of the numbers up in this subsequence so the sums of the pairs are -3. Thus, the average of these numbers will be -3/2 for all subsequences that start and end with the same number (not including one of those).
Now, take all of the repeating subsequences out of the original sequence. The only thing that will be left will be a sequence for some even . Since we started with 2006 terms, we removed (an even number) with an average of -3/2. Thus, the sum of both this remaining sequence and the removed stuff is . This must be minimized, so we find the roots: and . Plugging in yields (and yields , a worse result). Thus, is the closest to zero this sum can get.
Solution 3
We know . We get rid of the absolute value by squaring both sides: . So we set this up:
There are equations. Sum them. We get:
So
We know and we want to minimize , so must be for it to be minimal ( which is closest to ). We can achieve this with till and then alternating , and so on ... Then and for all . Since is odd, we have .
This means that
Solution 4
Playing around with a couple numbers, we see that we can generate the sequence , and we can also generate the sequence after each value. Thus, we will apply this to try and find some bounds. We can test if the first pairs of numbers each sum up to , and the rest form an arithmetic sequence, if the first pairs sum up to , and so on. When we get to , we find that . If we shift the number of pairs up by , we get .
~ Spacesam
Solution 5
We will work our way from to to . Let the sum .
Seeing as the value for the sum we want is always nonnegative, the best pseudo-strategy would be to stay as close to as possible as we increase to eventually get to . It turns out that a greedy algorithm works here. Let us start with some smaller values of .
Note that we can describe in terms of in the following way: take , add , and either multiply by or not.
We know that . When we get to , we add in , which is either or . It does not make a difference which one we choose, so we can choose for convenience. Now, . is either ; adding would take us farther away from , but adding is an okay move. Thus, let , so .
is . Adding is clearly the right choice here, which takes us to . Thus, and .
Let us look at how this greedy algorithm performs in general.
$
(the table doesn't work; if you desire, please to go https://artofproblemsolving.com/texer/zzyacvnp to view)
The sums alternate between separate arithmetic sequences. One of them is of particular interest to us: specifically, the one that goes , because it will eventually become . One can then derive using simple algebra how long it will take to reach zero, depending on ; it turns out that it takes for each cycle to complete. We can then see that for positive integers ; thus, . We can then go through our algorithm, and it turns out that .
~Technodoggo (sorry for the rushed solution!)
See also
2006 AIME I (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.