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, n3n=(n1)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 n3n(mod6).n^3 \equiv n \pmod 6. Summing, ai3ai\sum a_i^3 \equiv \sum a_i =20182018(mod6).= 2018^{2018} \pmod 6. Now 20182(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 220184(mod6).2^{2018} \equiv 4 \pmod 6. The remainder is 4.4. Therefore, the answer is E.

More practice

Concepts: modular arithmetic · divisibility

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.