login
A329760
Primes avoiding the digits 2 and 7.
2
3, 5, 11, 13, 19, 31, 41, 43, 53, 59, 61, 83, 89, 101, 103, 109, 113, 131, 139, 149, 151, 163, 181, 191, 193, 199, 311, 313, 331, 349, 353, 359, 383, 389, 401, 409, 419, 431, 433, 439, 443, 449, 461, 463, 491, 499, 503, 509, 541, 563, 569, 593, 599, 601, 613
OFFSET
1,1
LINKS
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)
FORMULA
{ A038604 } intersect { A038615 }.
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