I have a problem that I don't know how to solve: Considering the number $\frac{3}{7}$ written under the form $\frac{3}{7} = 0,a_1a_2a_3\dots$ compute $a_1+a_2+a_3+\dots+a_{2013}$.
I've only computed the number $\frac{3}{7}$...$\frac{3}{7}=(428571)$ but from here I don't know what to do anymore.
Since we have $$2013 = 335\cdot 6+3$$
the sum is $$335\cdot (4+2+8+5+7+1)+4+2+8=9059$$