OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Prime[Range[2 10^4]], Complement[IntegerDigits[#], {3, 5, 9}]=={} &]
Select[Table[FromDigits/@Tuples[{3, 5, 9}, n], {n, 5}]//Flatten, PrimeQ] (* Harvey P. Dale, Sep 07 2018 *)
PROG
(Magma) [p: p in PrimesUpTo(2*10^5) | Set(Intseq(p)) subset [3, 5, 9]];
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Vincenzo Librandi, Jul 22 2015
STATUS
approved