OFFSET
0,2
MATHEMATICA
Table[ Sum[ Apply[ Plus, RealDigits[ Prime[ j ]] [[1]] ], {j, 1, n} ], {n, 1, 100} ]
PROG
(PARI) a(n) = vecsum(apply(sumdigits, primes(n))); \\ Michel Marcus, Aug 28 2023
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Armand Turpel (armandt(AT)unforgettable.com)
EXTENSIONS
More terms from Robert G. Wilson v, Nov 18 2000
STATUS
approved