2021 AMC 10B Fall Problem 22

Attempt Problem 22 of the 2021 AMC 10B Fall below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2021 AMC 10B Fall solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

22.

For each integer n≥2,n\ge2, let SnS_n be the sum of all products jk,jk, where jj and kk are integers and 1≤j<k≤n.1\le j<k\le n. What is the sum of the 1010 least values of nn such that SnS_n is divisible by 3?3?
 196 \ 196
 197 \ 197
 198 \ 198
 199 \ 199
 200 \ 200
Answer: B
Concepts:modular arithmeticsummationpattern recognition
Small hint:
Find how SnS_n changes when terms with k=nk=n are added
Big hint:
Only n≡2(mod3)n\equiv2\pmod3 changes the value modulo 33
Solution:
When passing from Sn−1S_{n-1} to Sn,S_n, the new terms are jnjn for 1≤j<n.1\le j\lt n. Their sum is n(1+2+⋯+(n−1))=n2(n−1)2. \begin{gathered} n(1+2+\cdots+(n-1))\\ =\frac{n^2(n-1)}2. \end{gathered}
Modulo 3,3, this increment is 00 when n≡0n\equiv0 or 1(mod3),1\pmod3, and is 22 when n≡2(mod3).n\equiv2\pmod3.
Since S2=2,S_2=2, the sequence becomes divisible by 33 after the third occurrence of a number congruent to 2(mod3),2\pmod3, namely at n=8.n=8. Then SnS_n stays divisible by 33 for n=8,9,10,n=8,9,10, and the same pattern repeats every 99 in n.n.
The ten least values are 8,9,10,17,18,19,26,27,28,35.8,9,10,17,18,19,26,27,28,35. Their sum is 197.197.
Thus, the answer is B .
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.