Question 16
Let $a_1,$ $a_2,$ $\ldots,$ $a_{2018}$ be a strictly increasing sequence of positive integers such that
$$
a_1 + a_2 + \cdots + a_{2018} = 2018^{2018}.
$$
What is the remainder when $a_1^3 + a_2^3 + \cdots + a_{2018}^3$ is divided by $6?$
$$
a_1 + a_2 + \cdots + a_{2018} = 2018^{2018}.
$$
What is the remainder when $a_1^3 + a_2^3 + \cdots + a_{2018}^3$ is divided by $6?$