# New Year's Revolution

Level pending

The value of $$a_n$$ is defined to be the units digit of $$1+2+3+\dots+n$$, the sum of the first $$n$$ positive integers.

Determine the value of $$n$$ such that $$a_1+a_2+a+3+\dots+a_n=2014$$.

×