Skip to main content

2002 AIME II Problem 7

Problem 7 of 15IntermediateAlgebraNumber TheoryProblem-Solving Techniques

It is known that, for all positive integers k,k, 12+22+32+⋯+k2=k(k+1)(2k+1)6. \begin{aligned} &1^2 + 2^2 + 3^2 + \cdots + k^2 \\ &= \frac{k(k+1)(2k+1)}{6}. \end{aligned} Find the smallest positive integer kk such that 12+22+32+⋯+k21^2 + 2^2 + 3^2 + \cdots + k^2 is a multiple of 200.200.

Your answer

Integer from 0 to 999
Show solution

Solution

The sum is a multiple of 200200 exactly when k(k+1)(2k+1)k(k+1)(2k+1) is a multiple of 1200=24⋅3⋅52.1200 = 2^4 \cdot 3 \cdot 5^2. The factor 33 always divides k(k+1)(2k+1)k(k+1)(2k+1) (if k≡1(mod3),k \equiv 1 \pmod 3, then 2k+12k+1 is divisible by 33), so only 242^4 and 525^2 matter. Since 2k+12k+1 is odd and k,k, k+1k+1 cannot both be even, 1616 must divide kk or k+1,k+1, so k≡0k \equiv 0 or 15(mod16).15 \pmod{16}. Similarly 2525 must divide one of k,k, k+1,k+1, 2k+1,2k+1, giving k≡0,k \equiv 0, 24,24, or 12(mod25).12 \pmod{25}. Combining each pair of congruences modulo 400,400, the smallest positive solutions are 112,112, 175,175, 224,224, 287,287, 399,399, and 400.400. The least is k=112:k = 112: indeed 112⋅113⋅225112 \cdot 113 \cdot 225 =(16⋅7)⋅113⋅(9⋅25)= (16 \cdot 7) \cdot 113 \cdot (9 \cdot 25) is a multiple of 1200.1200.
AoPS wiki

Tagged: sum of first n squares · Chinese Remainder Theorem · casework

More practice