AoPSWiki
Trying to make National MATHCOUNTS next year? Our Advanced MATHCOUNTS/AMC 8 course can help you prepare. Click here to enroll today!
Personal tools

1998 AIME Problems/Problem 5

From AoPSWiki

Problem

Given that A_k = \frac {k(k - 1)}2\cos\frac {k(k - 1)\pi}2, find |A_{19} + A_{20} + \cdots + A_{98}|.

Solution

Though the problem may appear to be quite daunting, it is actually not that difficult. \displaystyle \frac {k(k-1)}2 always evaluates to an integer (triangular number), and the cosine of \displaystyle n\pi where n \in \mathbb{Z} is 1 if \displaystyle n is even and -1 if \displaystyle n is odd. \displaystyle \frac {k(k-1)}2 will be even if \displaystyle 4|k or \displaystyle 4|k-1, and odd otherwise.

So our sum looks something like:

\left|\sum_{i=19}^{98} A_i\right| = \displaystyle - \frac{19(18)}{2} + \frac{20(19)}{2} + \frac{21(20)}{2} - \frac{22(21)}{2}...

If we group the terms in pairs, we see that we need a formula for \frac{n(n-1)}{2} + \frac{n+1(n)}{2} = \left(\frac n2\right)(n+1 - (n-1)) = n. So the first two fractions add up to \displaystyle 19, the next two to \displaystyle -21, and so forth.

If we pair the terms again now, each pair adds up to -2. There are \displaystyle \frac{98-19+1}{2 \cdot 2} = 20 such pairs, so our answer is \displaystyle |-2 \cdot 20| = 040.

See also

1998 AIME (ProblemsResources)
Preceded by
Problem 4
Followed by
Problem 6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Try our innovative online adaptive learning system, Alcumus.
Over 1100 problems and 60+ video lessons. FREE!
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us