OFFSET
1,1
MATHEMATICA
Table[Plus @@ Flatten[IntegerDigits[Select[Range[10^(n - 1), 10^n], PrimeQ[ # ] &]]], {n, 7}]
PROG
(PARI) A007953(n)={ local(a=0, shft=n) ; while(shft!=0, a += shft %10 ; shft \= 10 ; ) ; return(a) ; }
{ for(n=1, 30, print(A130817(n)" ") ; ) ; } \\ R. J. Mathar, Jan 16 2008
CROSSREFS
KEYWORD
base,more,nonn
AUTHOR
Tanya Khovanova, Jul 16 2007
EXTENSIONS
a(8) from R. J. Mathar, Jan 16 2008
a(9)-a(11) from Jon E. Schoenfield, Dec 01 2008
a(12)-a(14) from Giovanni Resta, Jul 20 2015
STATUS
approved