VOOZH about

URL: https://oeis.org/A386133

⇱ A386133 - OEIS


login
A386133
Primes having only {1, 5, 7, 9} as digits.
1
5, 7, 11, 17, 19, 59, 71, 79, 97, 151, 157, 179, 191, 197, 199, 557, 571, 577, 599, 719, 751, 757, 797, 911, 919, 971, 977, 991, 997, 1117, 1151, 1171, 1511, 1559, 1571, 1579, 1597, 1759, 1777, 1951, 1979, 1997, 1999, 5119, 5171, 5179, 5197, 5519, 5557, 5591
OFFSET
1,1
MATHEMATICA
Flatten[Table[Select[FromDigits /@ Tuples[{1, 5, 7, 9}, n], PrimeQ], {n, 7}]]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 5, 7, 9]];
(Python) print(list(islice(primes_with("1579"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [1, 5, 7, 9]) \\ uses function in A385776
CROSSREFS
Supersequence of A260828, A260831, A260893, A385781.
Sequence in context: A192281 A191065 A386335 * A271658 A282739 A072249
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 17 2025
STATUS
approved