OFFSET
1,2
COMMENTS
There are 107 additive primes among first 200 primes. There are 38455 additive primes among first 100000 primes. Additive primes are in A046704.
LINKS
Zak Seidov, Table of n, a(n) for n=1..4086, a(n)<10^4.
EXAMPLE
Prime(10)=29 is additive prime because 2+9=11 is prime.
MATHEMATICA
Map[PrimePi[ # ]&, Select[Prime[Range[200]], PrimeQ[Apply[ Plus, IntegerDigits[ # ]]]&]
Flatten[Position[Prime[Range[150]], _?(PrimeQ[Total[IntegerDigits[#]]]&), {1}, Heads->False]] (* Harvey P. Dale, May 29 2013 *)
PROG
(Haskell)
import Data.List (elemIndices)
a075177 n = a075177_list !! (n-1)
a075177_list = map (+ 1) $
elemIndices 1 $ map (a010051 . a007953) a000040_list
-- Reinhard Zumkeller, Nov 13 2011
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Sep 06 2002
STATUS
approved