VOOZH about

URL: https://oeis.org/A386059

⇱ A386059 - OEIS


login
A386059
Primes having only {0, 3, 4, 8} as digits.
1
3, 43, 83, 383, 433, 443, 883, 3083, 3343, 3433, 3803, 3833, 4003, 4483, 8443, 8803, 30403, 30803, 33083, 33343, 33403, 34033, 34303, 34403, 34483, 34843, 34883, 38083, 38303, 38333, 38803, 38833, 40343, 40433, 40483, 40883, 43003, 43403, 44383, 44483, 44843
OFFSET
1,1
MATHEMATICA
Select[FromDigits /@ Tuples[{0, 3, 4, 8}, n], PrimeQ]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 4, 8]];
(Python) print(list(islice(primes_with("0348"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [0, 3, 4, 8]) \\ uses function in A385776
CROSSREFS
Subsequence of A030431.
Supersequence of A199340, A199348, A261434.
Sequence in context: A386177 A142184 A386174 * A199348 A002551 A127930
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 15 2025
STATUS
approved