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