Skip to main content

2018 AMC 10B Problem 16

Problem 16 of 25IntermediateNumber Theory

Let a1,a_1, a2,a_2, …,\ldots, a2018a_{2018} be a strictly increasing sequence of positive integers such that a1+a2+⋯+a2018=20182018.a_1 + a_2 + \cdots + a_{2018} = 2018^{2018}. What is the remainder when a13+a23+⋯+a20183a_1^3 + a_2^3 + \cdots + a_{2018}^3 is divided by 6?6?

Answer choices

Show solution

Solution

For any integer n,n, n3−n=(n−1)n(n+1)n^3 - n = (n-1)n(n+1) is a product of three consecutive integers, so it’s divisible by 6.6. That means n3≡n(mod6).n^3 \equiv n \pmod 6. Summing, ∑ai3≡∑ai\sum a_i^3 \equiv \sum a_i =20182018(mod6).= 2018^{2018} \pmod 6. Now 2018≡2(mod6),2018 \equiv 2 \pmod 6, and powers of 22 mod 66 alternate 2,4,2,4,….2, 4, 2, 4, \ldots. The exponent 20182018 is even, so 22018≡4(mod6).2^{2018} \equiv 4 \pmod 6. The remainder is 4.4. Therefore, the answer is E.
AoPS wiki

Tagged: modular arithmetic · divisibility

More practice