OFFSET
1,1
EXAMPLE
79 is a member since neither 7 + 9 = 16 nor 7 * 9 = 63 is prime.
MATHEMATICA
d[n_]:=IntegerDigits[n]; Select[Prime[Range[122]], !PrimeQ[Plus@@(x=d[#])] && !PrimeQ[Times@@x] &]
Select[Prime[Range[150]], NoneTrue[{Total[IntegerDigits[#]], Times@@ IntegerDigits[ #]}, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 20 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jayanta Basu, May 18 2013
STATUS
approved