Difference between revisions of "1985 AIME Problems/Problem 5"
I_like_pie (talk | contribs) (→See also) |
(→Solution) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
A [[sequence]] of [[integer]]s <math>a_1, a_2, a_3, \ldots</math> is chosen so that <math>a_n = a_{n - 1} - a_{n - 2}</math> for each <math>n \ge 3</math>. What is the sum of the first 2001 terms of this sequence if the sum of the first 1492 terms is 1985, and the sum of the first 1985 terms is 1492? | A [[sequence]] of [[integer]]s <math>a_1, a_2, a_3, \ldots</math> is chosen so that <math>a_n = a_{n - 1} - a_{n - 2}</math> for each <math>n \ge 3</math>. What is the sum of the first 2001 terms of this sequence if the sum of the first 1492 terms is 1985, and the sum of the first 1985 terms is 1492? | ||
+ | |||
== Solution == | == Solution == | ||
The problem gives us a sequence defined by a [[recursion]], so let's calculate a few values to get a feel for how it acts. We aren't given initial values, so let <math>a_1 = a</math> and <math>a_2 = b</math>. Then <math>a_3 = b - a</math>, <math>a_4 = (b - a) - b = -a</math>, <math>a_5 = -a - (b - a) = -b</math>, <math>a_6 = -b - (-a) = a - b</math>, <math>a_7 = (a - b) - (-b) = a</math> and <math>a_8 = a - (a - b) = b</math>. Since the sequence is recursively defined by the first 2 terms, after this point it must continue to repeat. Thus, in particular <math>a_{j + 6} = a_j</math> for all <math>j</math>, and so repeating this <math>n</math> times, <math>a_{j + 6n} = a_j</math> for all [[integer]]s <math>n</math> and <math>j</math>. | The problem gives us a sequence defined by a [[recursion]], so let's calculate a few values to get a feel for how it acts. We aren't given initial values, so let <math>a_1 = a</math> and <math>a_2 = b</math>. Then <math>a_3 = b - a</math>, <math>a_4 = (b - a) - b = -a</math>, <math>a_5 = -a - (b - a) = -b</math>, <math>a_6 = -b - (-a) = a - b</math>, <math>a_7 = (a - b) - (-b) = a</math> and <math>a_8 = a - (a - b) = b</math>. Since the sequence is recursively defined by the first 2 terms, after this point it must continue to repeat. Thus, in particular <math>a_{j + 6} = a_j</math> for all <math>j</math>, and so repeating this <math>n</math> times, <math>a_{j + 6n} = a_j</math> for all [[integer]]s <math>n</math> and <math>j</math>. | ||
− | Because of this, the sum of the first 1492 terms can be greatly simplified: <math>1488 = 6 \cdot 248</math> is the largest multiple of 6 less than 1492, so < | + | Because of this, the sum of the first 1492 terms can be greatly simplified: <math>1488 = 6 \cdot 248</math> is the largest multiple of 6 less than 1492, so |
+ | <cmath>\sum_{i = 1}^{1492} a_i = (a_{1489} + a_{1490} + a_{1491} + a_{1492})+ \sum_{i = 1}^{1488} a_i = (a_1 + a_2 + a_3 + a_4) + \sum_{n = 0}^{247}\sum_{j = 1}^6 a_{6n + j}</cmath> | ||
+ | <cmath>=(a + b + (b - a) + (-a)) + \sum_{n = 0}^{247}\sum_{j = 1}^6 a_j = 2b - a,</cmath> | ||
+ | where we can make this last step because <math>\sum_{j = 1}^6 a_j = 0</math> and so the entire second term of our [[expression]] is [[zero (constant) | zero]]. | ||
− | Similarly, since <math>1980 = 6 \cdot | + | Similarly, since <math>1980 = 6 \cdot 330</math>, <math>\sum_{i = 1}^{1985} a_i = (a_1 + a_2 + a_3 + a_4 + a_5) + \sum_{i = 1}^{1980}a_i = a + b + (b - a) + (-a) + (-b) = b - a</math>. |
Finally, <math>\sum_{i = 1}^{2001}a_i = a_1 + a_2 + a_3 + \sum_{i = 1}^{1998} a_i = a + b + (b - a) = 2b</math>. | Finally, <math>\sum_{i = 1}^{2001}a_i = a_1 + a_2 + a_3 + \sum_{i = 1}^{1998} a_i = a + b + (b - a) = 2b</math>. | ||
− | Then by the givens, <math>2b - a = 1985</math> and <math>b - a = 1492</math> so <math>b = 1985 - 1492 = 493</math> and so the answer is <math>2\cdot 493 = 986</math>. | + | Then by the givens, <math>2b - a = 1985</math> and <math>b - a = 1492</math> so <math>b = 1985 - 1492 = 493</math> and so the answer is <math>2\cdot 493 = \boxed{986}</math>. |
− | + | Minor edit by: PlainOldNumberTheory | |
== See also == | == See also == |
Latest revision as of 12:37, 1 May 2022
Problem
A sequence of integers is chosen so that for each . What is the sum of the first 2001 terms of this sequence if the sum of the first 1492 terms is 1985, and the sum of the first 1985 terms is 1492?
Solution
The problem gives us a sequence defined by a recursion, so let's calculate a few values to get a feel for how it acts. We aren't given initial values, so let and . Then , , , , and . Since the sequence is recursively defined by the first 2 terms, after this point it must continue to repeat. Thus, in particular for all , and so repeating this times, for all integers and .
Because of this, the sum of the first 1492 terms can be greatly simplified: is the largest multiple of 6 less than 1492, so where we can make this last step because and so the entire second term of our expression is zero.
Similarly, since , .
Finally, .
Then by the givens, and so and so the answer is . Minor edit by: PlainOldNumberTheory
See also
1985 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 4 |
Followed by Problem 6 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |