cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A386080 Primes having only {0, 5, 7, 9} as digits.

This page as a plain text file.
%I A386080 #6 Jul 16 2025 21:44:35
%S A386080 5,7,59,79,97,509,557,577,599,709,757,797,907,977,997,5009,5059,5077,
%T A386080 5099,5507,5557,5779,7057,7079,7507,7559,7577,7757,7759,7907,9007,
%U A386080 9059,9907,50077,50599,50707,50777,50909,50957,55009,55057,55079,55579,55799,55997
%N A386080 Primes having only {0, 5, 7, 9} as digits.
%H A386080 Jason Bard, <a href="/A386080/b386080.txt">Table of n, a(n) for n = 1..10000</a>
%H A386080 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386080 Select[FromDigits /@ Tuples[{0, 5, 7, 9}, n], PrimeQ]
%o A386080 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 5, 7, 9]];
%o A386080 (Python) print(list(islice(primes_with("0579"), 41))) # uses function/imports in A385776
%o A386080 (PARI) primes_with(, 1, [0, 5, 7, 9]) \\ uses function in A385776
%Y A386080 Supersequence of A260827, A260831, A261181, A385769.
%Y A386080 Cf. A000040, A385776.
%K A386080 nonn,base,easy
%O A386080 1,1
%A A386080 _Jason Bard_, Jul 16 2025