OFFSET
1,1
FORMULA
a(n) = Sum_{i=1..n} (10 - A007652(n)).
MATHEMATICA
Table[Sum[10 - Mod[Prime[n], 10], {n, 1, m}], {m, 1, 50}]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Roger L. Bagula, Sep 21 2006
EXTENSIONS
Definition simplified by the Assoc. Eds. of the OEIS, Mar 27 2010
STATUS
approved