login
A386342
Primes without {3, 7} as digits.
1
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,1
MATHEMATICA
Select[Prime[Range[120]], DigitCount[#, 10, 3] == 0 && DigitCount[#, 10, 7] == 0 &]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 2, 4, 5, 6, 8, 9]];
(Python) print(list(islice(primes_with("01245689"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [0, 1, 2, 4, 5, 6, 8, 9]) \\ uses function in A385776
CROSSREFS
Intersection of A038611 and A038615.
Sequence in context: A190309 A161550 A245207 * A215762 A085626 A258031
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 20 2025
STATUS
approved