Difference between revisions of "2006 AIME II Problems/Problem 11"
(→Solution 2 (bash)) |
(→Solution 3 (some guessing involved)/"Engineer's Induction") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
<math> | <math> | ||
a_{1}\equiv 1 \pmod {1000} \\ | a_{1}\equiv 1 \pmod {1000} \\ | ||
− | |||
a_{2}\equiv 1 \pmod {1000} \\ | a_{2}\equiv 1 \pmod {1000} \\ | ||
− | |||
a_{3}\equiv 1 \pmod {1000} \\ | a_{3}\equiv 1 \pmod {1000} \\ | ||
− | |||
a_{4}\equiv 3 \pmod {1000} \\ | a_{4}\equiv 3 \pmod {1000} \\ | ||
− | |||
a_{5}\equiv 5 \pmod {1000} \\ | a_{5}\equiv 5 \pmod {1000} \\ | ||
− | |||
\cdots \\ | \cdots \\ | ||
− | |||
a_{25} \equiv 793 \pmod {1000} \\ | a_{25} \equiv 793 \pmod {1000} \\ | ||
− | |||
a_{26} \equiv 281 \pmod {1000} \\ | a_{26} \equiv 281 \pmod {1000} \\ | ||
− | |||
a_{27} \equiv 233 \pmod {1000} \\ | a_{27} \equiv 233 \pmod {1000} \\ | ||
− | |||
a_{28} \equiv 307 \pmod {1000} | a_{28} \equiv 307 \pmod {1000} | ||
− | |||
</math> | </math> | ||
Line 45: | Line 35: | ||
=== Solution 3 (some guessing involved)/"Engineer's Induction" === | === Solution 3 (some guessing involved)/"Engineer's Induction" === | ||
− | All terms in the sequence are sums of previous terms, so the sum of all terms up to a certain point must be some linear combination of the first three terms. Also, we are given <math>a_{28}, a_{29}, </math> and <math>a_{30}</math>, so we can guess that there is some way to use them in a formula. Namely, we guess that there exists some <math>p, q, r</math> such that <math>\sum_{k=1}^{n}{a_k} = pa_n+qa_{n+1}+ra_{n+2}</math>. From here, we list out the first few terms of the sequence and the cumulative sums, and with a little bit of substitution and algebra we see that <math>(p, q, r) = (\frac{1}{2}, 0, \frac{1}{2})</math>, at least for the first few terms. From this, we have that <math>\sum_{k=1}^{28}{a_k} = \frac{a_{28}+a_{30}}{2} \equiv{\boxed{834}} | + | All terms in the sequence are sums of previous terms, so the sum of all terms up to a certain point must be some linear combination of the first three terms. Also, we are given <math>a_{28}, a_{29}, </math> and <math>a_{30}</math>, so we can guess that there is some way to use them in a formula. Namely, we guess that there exists some <math>p, q, r</math> such that <math>\sum_{k=1}^{n}{a_k} = pa_n+qa_{n+1}+ra_{n+2}</math>. From here, we list out the first few terms of the sequence and the cumulative sums, and with a little bit of substitution and algebra we see that <math>(p, q, r) = (\frac{1}{2}, 0, \frac{1}{2})</math>, at least for the first few terms. From this, we have that <math>\sum_{k=1}^{28}{a_k} = \frac{a_{28}+a_{30}}{2} \equiv{\boxed{834}}\pmod {1000}</math>. |
Solution by zeroman; clarified by srisainandan6 | Solution by zeroman; clarified by srisainandan6 | ||
+ | |||
+ | |||
+ | === Solution 4 (if you did not know how to use the numbers given in the problem) === | ||
+ | By the Chinese remainder theorem, each number under 1000 is uniquely determined by its mod 8 and mod 125. | ||
+ | |||
+ | We list a few terms of the sequence mod 8: | ||
+ | |||
+ | <cmath>1,1,1,3,5,1,1,7,1,1,1,...</cmath> | ||
+ | |||
+ | Therefore, the cycle repeats every 8 numbers, and each cycle has a sum of 4 mod 8. Therefore, the sum mod 8 is <cmath>3 \cdot 4 + 1 + 1 + 1 + 3 = 2 \mod 8.</cmath> | ||
+ | |||
+ | Denote <cmath>s_n = \sum _{i=1} ^{n} a_i.</cmath> It is easy to prove that <math>s_{n+3} = s_{n+2} + s_{n+1} + s_{n}.</math> | ||
+ | |||
+ | We write the sum (<math>s_n</math>) of the first terms mod 125: | ||
+ | |||
+ | <cmath>1,2,3,6,11,20,37,68,0,-20,48,28,56,7,91,29,2,-3,28,27,52,-18,61,-30,13,44,27,84.</cmath> | ||
+ | |||
+ | Therefore the desired number is <math>84 \mod 125.</math> | ||
+ | |||
+ | From here, we can determine the number we are looking for is <math>750 + 84 = \boxed{834}.</math> | ||
+ | -sd8 | ||
== See also == | == See also == |
Latest revision as of 19:54, 31 July 2025
Contents
Problem
A sequence is defined as follows and, for all positive integers
Given that
and
find the remainder when
is divided by 1000.
Solutions
Solution 1
Define the sum as . Since
, the sum will be:

Thus , and
are both given; the last four digits of their sum is
, and half of that is
. Therefore, the answer is
.−
Solution 2 (bash)
Since the problem only asks for the first 28 terms and we only need to calculate mod 1000, we simply bash the first 28 terms:
Adding all the residues shows the sum is congruent to mod
.
~ I-_-I
Solution 3 (some guessing involved)/"Engineer's Induction"
All terms in the sequence are sums of previous terms, so the sum of all terms up to a certain point must be some linear combination of the first three terms. Also, we are given and
, so we can guess that there is some way to use them in a formula. Namely, we guess that there exists some
such that
. From here, we list out the first few terms of the sequence and the cumulative sums, and with a little bit of substitution and algebra we see that
, at least for the first few terms. From this, we have that
.
Solution by zeroman; clarified by srisainandan6
Solution 4 (if you did not know how to use the numbers given in the problem)
By the Chinese remainder theorem, each number under 1000 is uniquely determined by its mod 8 and mod 125.
We list a few terms of the sequence mod 8:
Therefore, the cycle repeats every 8 numbers, and each cycle has a sum of 4 mod 8. Therefore, the sum mod 8 is
Denote It is easy to prove that
We write the sum () of the first terms mod 125:
Therefore the desired number is
From here, we can determine the number we are looking for is
-sd8
See also
2006 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 10 |
Followed by Problem 12 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.