OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
Select[Select[Prime[Range[280]], PrimeQ[Plus@@IntegerDigits[ # ]]&], PrimeQ[Times@@IntegerDigits[ # ]+1]&] (from Harvey Dale)
PROG
(Magma) [p: p in PrimesUpTo(1700) | IsPrime(&+Intseq(p)) and IsPrime(1+&*Intseq(p))]; // Bruno Berselli, Apr 09 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Sep 06 2003
EXTENSIONS
Edited and extended by Robert G. Wilson v, Sep 07 2003
STATUS
approved