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