Difference between revisions of "1998 AIME Problems/Problem 5"
(→Solution) |
Mathdaniu13 (talk | contribs) (→Solution) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
<math>\left|\sum_{i=19}^{98} A_i\right| =- \frac{19(18)}{2} + \frac{20(19)}{2} + \frac{21(20)}{2} - \frac{22(21)}{2} - \frac{23(22)}{2} + \frac{24(23)}{2} \cdots - \frac{98(97)}{2}</math> | <math>\left|\sum_{i=19}^{98} A_i\right| =- \frac{19(18)}{2} + \frac{20(19)}{2} + \frac{21(20)}{2} - \frac{22(21)}{2} - \frac{23(22)}{2} + \frac{24(23)}{2} \cdots - \frac{98(97)}{2}</math> | ||
− | If we group the terms in pairs, we see that we need a formula for <math>\frac{n(n-1)}{2} + \frac{n+1(n)}{2} = \left(\frac n2\right)(n+1 - (n-1)) = n</math>. So the first two fractions add up to <math>19</math>, the next two to <math>-21</math>, and so forth. | + | If we group the terms in pairs, we see that we need a formula for <math>-\frac{(n)(n-1)}{2} + \frac{(n+1)(n)}{2} = \left(\frac n2\right)(n+1 - (n-1)) = n</math>. So the first two fractions add up to <math>19</math>, the next two to <math>-21</math>, and so forth. |
− | If we pair the terms again now, each pair adds up to <math>-2</math>. There are <math>\frac{98-19+1}{2 \cdot 2} = 20</math> such pairs, so our answer is <math>|-2 \cdot 20| = \boxed{ | + | If we pair the terms again now, each pair adds up to <math>-2</math>. There are <math>\frac{98-19+1}{2 \cdot 2} = 20</math> such pairs, so our answer is <math>|-2 \cdot 20| = \boxed{40}</math>. |
== See also == | == See also == |
Latest revision as of 19:00, 27 September 2024
Problem
Given that find
Solution
Though the problem may appear to be quite daunting, it is actually not that difficult. always evaluates to an integer (triangular number), and the cosine of where is 1 if is even and -1 if is odd. will be even if or , and odd otherwise.
So our sum looks something like:
If we group the terms in pairs, we see that we need a formula for . So the first two fractions add up to , the next two to , and so forth.
If we pair the terms again now, each pair adds up to . There are such pairs, so our answer is .
See also
1998 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 |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.