2017 AIME I Problem 3

For 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 .