OFFSET
1,1
COMMENTS
Even semiprime = 2*prime.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
13(1+3=2*2), 19(1+9=2*5), 31(3+1=2*2), 37(3+7=2*5), 59(5+9=2*7).
MATHEMATICA
Select[Prime[Range[200]], PrimeQ[Total[IntegerDigits[#]]/2]&] (* Peter J. C. Moses, Jun 05 2014 *)
Select[Prime[Range[200]], EvenQ[Total[IntegerDigits[#]]]&& PrimeOmega[ Total[ IntegerDigits[ #]]] ==2&] (* Harvey P. Dale, Sep 30 2016 *)
PROG
(PARI) isok(n) = isprime(n) && (q = sumdigits(n)/2) && (type(q) == "t_INT") && isprime(q); \\ Michel Marcus, Jun 24 2014
CROSSREFS
KEYWORD
nonn,base,easy,less
AUTHOR
Juri-Stepan Gerasimov, Mar 13 2009
EXTENSIONS
257 added by R. J. Mathar, Mar 15 2009
STATUS
approved