The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
Sum of last ten *digits* of the sequence beginning with 0,0,0,0,0,0,0,0,0,2, (nine zeros followed by a 2) enter in a loop whose length is 312 terms; so a(2)=312