VOOZH about

URL: https://oeis.org/A386183

⇱ A386183 - OEIS


login
A386183
Primes having only {3, 5, 8, 9} as digits.
1
3, 5, 53, 59, 83, 89, 353, 359, 383, 389, 593, 599, 839, 853, 859, 883, 953, 983, 3359, 3389, 3533, 3539, 3559, 3583, 3593, 3833, 3853, 3889, 3989, 5333, 5393, 5399, 5839, 5939, 5953, 8353, 8389, 8539, 8599, 8839, 8893, 8933, 8999, 9533, 9539, 9833, 9839, 9859
OFFSET
1,1
MATHEMATICA
Flatten[Table[Select[FromDigits /@ Tuples[{3, 5, 8, 9}, n], PrimeQ], {n, 7}]]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 5, 8, 9]];
(Python) print(list(islice(primes_with("3589"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [3, 5, 8, 9]) \\ uses function in A385776
CROSSREFS
Supersequence of A260226, A260227, A385792, A385798.
Sequence in context: A371688 A219506 A171775 * A386064 A386180 A260227
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 18 2025
STATUS
approved