VOOZH about

URL: https://oeis.org/A386077

⇱ A386077 - OEIS


login
A386077
Primes having only {0, 5, 6, 7} as digits.
1
5, 7, 67, 557, 577, 607, 677, 757, 5077, 5507, 5557, 5657, 6007, 6067, 6577, 6607, 7057, 7507, 7577, 7607, 7757, 50077, 50707, 50767, 50777, 55057, 55667, 56767, 57077, 57557, 57667, 60077, 60607, 60757, 65557, 65657, 65677, 65707, 65777, 66067, 67057, 67567
OFFSET
1,1
MATHEMATICA
Select[FromDigits /@ Tuples[{0, 5, 6, 7}, n], PrimeQ]
PROG
(Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 5, 6, 7]];
(Python) print(list(islice(primes_with("0567"), 41))) # uses function/imports in A385776
(PARI) primes_with(, 1, [0, 5, 6, 7]) \\ uses function in A385776
CROSSREFS
Supersequence of A260827, A260829, A385770.
Sequence in context: A307361 A387760 A386196 * A260829 A355970 A130189
KEYWORD
nonn,base,easy
AUTHOR
Jason Bard, Jul 16 2025
STATUS
approved