ASIA TEAM Problems/Problem 2

Notice that $...S_4S_3S_2S_1$ is the base-4 representation of $2013$, and $2013_{10}=133131$, so the answer is $1+3+3+1+3+1=\boxed{12}$. ~AbbyWong