[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A122754
a(n) = 10*n - A101306(n).
1
8, 15, 20, 23, 32, 39, 42, 43, 50, 51, 60, 63, 72, 79, 82, 89, 90, 99, 102, 111, 118, 119, 126, 127, 130, 139, 146, 149, 150, 157, 160, 169, 172, 173, 174, 183, 186, 193, 196, 203, 204, 213, 222, 229, 232, 233, 242, 249, 252, 253
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
Cf. A101306.
Partial sums of A072003.
Sequence in context: A133157 A014544 A237610 * A355490 A082867 A075713
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