OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
89 is in the sequence because (1) it is a prime number, (2) the sum of the digits is 8+9=17, the number of digits is 2 and (3) 17+2=19, which is a prime number.
MATHEMATICA
Select[Prime[Range[150]], PrimeQ[Total[IntegerDigits[#]]+ IntegerLength[ #]]&] (* Harvey P. Dale, Jan 28 2015 *)
PROG
(PARI) isok(p) = isprime(p) && isprime(sumdigits(p) + #digits(p)); \\ Michel Marcus, Feb 26 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 20 2006
EXTENSIONS
Corrected by Harvey P. Dale, Jan 28 2015
STATUS
approved