VOOZH about

URL: https://oeis.org/A386075

⇱ A386075 - OEIS


login
A386075
Primes having only {0, 4, 7, 9} as digits.
2
7, 47, 79, 97, 409, 449, 479, 499, 709, 797, 907, 947, 977, 997, 4007, 4049, 4079, 4099, 4409, 4447, 4799, 4909, 4999, 7079, 7477, 7499, 7907, 7949, 9007, 9049, 9479, 9497, 9749, 9907, 9949, 40009, 40099, 40499, 40709, 40949, 44449, 44497, 44777, 44797, 44909
OFFSET
1,1
MATHEMATICA
Select[FromDigits /@ Tuples[{0, 4, 7, 9}, n], PrimeQ]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 4, 7, 9]];
(Python) print(list(islice(primes_with("0479"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [0, 4, 7, 9]) \\ uses function in A385776
CROSSREFS
Supersequence of A261181, A261183, A384449, A385768.
Sequence in context: A385794 A240569 A386195 * A261183 A067658 A044490
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 16 2025
STATUS
approved