OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2) = 29: 29+2(9) = 29+18 = 47 which is prime.
MATHEMATICA
Select[Prime[Range[300]], DigitCount[#, 10, 0]==0&&PrimeQ[#+Times@@ IntegerDigits[ #]]&] (* Harvey P. Dale, Jan 27 2020 *)
PROG
(PARI) dprod(n)=n=digits(n); prod(i=1, #n, n[i])
is(n)=my(d=dprod(n)); d && isprime(n+d) && isprime(n) \\ Charles R Greathouse IV, Dec 27 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ray G. Opao, Apr 06 2004
EXTENSIONS
Definition clarified by Harvey P. Dale, Jan 27 2020
STATUS
approved