Given that Ak=2k(k−1)cos2k(k−1)π, find ∣A19+A20+⋯+A98∣.
解析
Solution
Though the problem may appear to be quite daunting, it is actually not that difficult. 2k(k−1) always evaluates to an integer (triangular number), and the cosine of nπ where n∈Z is 1 if n is even and -1 if n is odd. 2k(k−1) will be even if 4∣k or 4∣k−1, and odd otherwise.
If we group the terms in pairs, we see that we need a formula for −2(n)(n−1)+2(n+1)(n)=(2n)(n+1−(n−1))=n. So the first two fractions add up to 19, the next two to −21, and so forth.
If we pair the terms again now, each pair adds up to −2. There are 2⋅298−19+1=20 such pairs, so our answer is ∣−2⋅20∣=040.