VOOZH about

URL: https://oeis.org/A386076

⇱ A386076 - OEIS


login
A386076
Primes having only {0, 4, 8, 9} as digits.
1
89, 409, 449, 499, 809, 4049, 4099, 4409, 4889, 4909, 4999, 8009, 8089, 8849, 8999, 9049, 9949, 40009, 40099, 40499, 40849, 40949, 44089, 44449, 44809, 44909, 48049, 48409, 48449, 48809, 48889, 48989, 49009, 49409, 49499, 49999, 80449, 80489, 80809, 80849, 80909
OFFSET
1,1
MATHEMATICA
Select[FromDigits /@ Tuples[{0, 4, 8, 9}, n], PrimeQ]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 4, 8, 9]];
(Python) print(list(islice(primes_with("0489"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [0, 4, 8, 9]) \\ uses function in A385776
CROSSREFS
Subsequence of A030433.
Supersequence of A385768, A385772, A385796.
Sequence in context: A244777 A107192 A061372 * A254754 A083473 A142186
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 16 2025
STATUS
approved