2021 AMC 10 B Fall

Complete problem set with solutions and individual problem pages

Problem 22 Hard

For each integer n \geq 2, let S_{n} be the sum of all products j k, where j and k are integers and 1 \leq j<k \leq n. What is the sum of the 10 least values of n such that S_{n} is divisible by 3 ?(2021 AMC Fall 10B, Question #22)

  • A.

    196

  • B.

    197

  • C.

    198

  • D.

    199

  • E.

    200

Answer:B

Solution 1:

To get from S_{n} to S_{n+1}, we add 1(n+1)+2(n+1)+\cdots+n(n+1)=(1+2+\cdots+n)(n+1)=\frac{n(n+1)^{2}}{2} Now, we can look at the different values of n \bmod 3. For n \equiv 0(\bmod 3) and n \equiv 2(\bmod 3), then we have \frac{n(n+1)^{2}}{2} \equiv 0(\bmod 3). However, for n \equiv 1(\bmod 3), we have \frac{1 \cdot 2^{2}}{2} \equiv 2 \quad(\bmod 3) Clearly, S_{2} \equiv 2(\bmod 3). Using the above result, we have S_{5} \equiv 1(\bmod 3), and S_{8}, S_{9}, and S_{10} are all divisible by 3 . After 3 \cdot 3=9, we have S_{17}, S_{18}, and S_{19} all divisible by 3 , as well as S_{26}, S_{27}, S_{28}, and S_{35}. Thus, our answer is 8+9+10+17+18+19+26+27+28+35=27+54+81+35=162+35=\text { (B) } 197

Solution 2:

Since we have a wonky function, we start by trying out some small cases and see what happens. If j is 1 and k is 2 , then there is once case. We have 2 \bmod 3 for this case. If N is 3 , we have 1 \cdot 2+1 \cdot 3+2 \cdot 3 which is still 2 \bmod 3. If N is 4 , we have to add 1 \cdot 4+2 \cdot 4+3 \cdot 4 which is a multiple of 3 , meaning that we are still at 2 mod 3 . If we try a few more cases, we find that when N is 8 , we get a multiple of 3 . When N is 9 , we are adding 0 \bmod 3, and therefore, we are still at a multiple of 3 .

When N is 10 , then we get 0 \bmod 3+10(1+2+3+\ldots+9) which is 10 times a multiple of 3 . Therefore, we have another multiple of 3 . When N is 11 , so we have 2 mod 3 . So, every time we have -1 \bmod 9,0 \bmod 9, and 1 \bmod 9, we always have a multiple of 3 . Think about it: When N is 1 , it will have to be 0 \cdot 1, so it is a multiple of 3 . Therefore, our numbers are 8,9,10,17,18,19,26,27,28,35. Adding the numbers up, we get (B) 197