Skip to main content

2008 AIME II Problem 1

Problem 1 of 15EasierAlgebraProblem-Solving Techniques

Let N=1002+992−982−972+962+⋯+42+32−22−12, \begin{aligned} N &= 100^2 + 99^2 - 98^2 - 97^2 \\ &\quad {}+ 96^2 + \cdots + 4^2 \\ &\quad {}+ 3^2 - 2^2 - 1^2, \end{aligned} where the additions and subtractions alternate in pairs. Find the remainder when NN is divided by 1000.1000.

Your answer

Integer from 0 to 999
Show solution

Solution

Group the terms four at a time. For k=1,2,…,25,k = 1, 2, \ldots, 25, the block ending at (4k)2(4k)^2 is (4k)2+(4k−1)2−(4k−2)2−(4k−3)2=2(8k−2)+2(8k−4)=32k−12, \begin{aligned} &(4k)^2 + (4k-1)^2 \\ &\quad {}- (4k-2)^2 - (4k-3)^2 \\ &= 2(8k - 2) + 2(8k - 4) \\ &= 32k - 12, \end{aligned} using the difference of squares a2−b2=(a+b)(a−b)a^2 - b^2 = (a + b)(a - b) with a−b=2a - b = 2 twice. Summing over k=1k = 1 to 25,25, N=32⋅25⋅262−12⋅25=10400−300=10100, \begin{aligned} N &= 32 \cdot \frac{25 \cdot 26}{2} - 12 \cdot 25 \\ &= 10400 - 300 = 10100, \end{aligned} so the remainder when NN is divided by 10001000 is 100.100.
AoPS wiki

Tagged: difference of squares · pairing and grouping · summation

More practice