login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104250 Sum of prime digits of n-th prime. 5
2, 3, 5, 7, 0, 3, 7, 0, 5, 2, 3, 10, 0, 3, 7, 8, 5, 0, 7, 7, 10, 7, 3, 0, 7, 0, 3, 7, 0, 3, 9, 3, 10, 3, 0, 5, 12, 3, 7, 10, 7, 0, 0, 3, 7, 0, 2, 7, 11, 4, 8, 5, 2, 7, 14, 5, 2, 9, 16, 2, 5, 5, 10, 3, 6, 10, 6, 13, 10, 3, 11, 8, 10, 13, 10, 6, 3, 10, 0, 0, 0, 2, 3, 6, 3, 3, 0, 12, 0, 3, 7, 7, 7, 0, 0, 8, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..97.

FORMULA

a(n)=A007605(n)-A104251(n)

EXAMPLE

a(6)=3 because sum of prime digits of Prime[6]=13 is 3.

MATHEMATICA

npd[n_]:=Total[Select[IntegerDigits[n], PrimeQ]]; Table[npd[p], {p, Prime[ Range[100]]}] (* Harvey P. Dale, Apr 24 2014 *)

CROSSREFS

Sum of nonprime digits (1, 4, 6, 8, 9) of n-th prime: A104251. Primes A000040: sum of digits of primes: A007605.

Sequence in context: A185107 A115259 A039709 * A171013 A020919 A126053

Adjacent sequences:  A104247 A104248 A104249 * A104251 A104252 A104253

KEYWORD

nonn,base

AUTHOR

Zak Seidov, Feb 26 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 22 18:00 EST 2018. Contains 299469 sequences. (Running on oeis4.)