A386342 Primes without {3, 7} as digits.
2, 5, 11, 19, 29, 41, 59, 61, 89, 101, 109, 149, 151, 181, 191, 199, 211, 229, 241, 251, 269, 281, 401, 409, 419, 421, 449, 461, 491, 499, 509, 521, 541, 569, 599, 601, 619, 641, 659, 661, 691, 809, 811, 821, 829, 859, 881, 911, 919, 929, 941, 991, 1009, 1019
Offset: 1
Links
Programs
-
Magma
[p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 2, 4, 5, 6, 8, 9]];
-
Mathematica
Select[Prime[Range[120]], DigitCount[#, 10, 3] == 0 && DigitCount[#, 10, 7] == 0 &]
-
PARI
primes_with(, 1, [0, 1, 2, 4, 5, 6, 8, 9]) \\ uses function in A385776
-
Python
print(list(islice(primes_with("01245689"), 41))) # uses function/imports in A385776