Question 3For a positive integer $n,$ let $d_n$ be the units digit of $1 + 2 + 3 + \cdots + n.$ Find the remainder when $$ \sum_{n=1}^{2017} d_n $$ is divided by $1000.$