OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
Marianne Freiberger, Primes without 7s.
James Maynard, Primes with restricted digits, arXiv:1604.01041 [math.NT], 2016.
James Maynard and Brady Haran, Primes without a 7, Numberphile video (2019)
MATHEMATICA
Select[Prime[Range[120]], DigitCount[#, 10, 2]==0 && DigitCount[#, 10, 7]==0 &] (* Vincenzo Librandi, Jan 02 2020 *)
PROG
(Magma) [p: p in PrimesUpTo(700) | not 2 in Intseq(p) and not 7 in Intseq(p) ]; // Vincenzo Librandi, Jan 02 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Nov 20 2019
STATUS
approved