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.

A386079 Primes having only {0, 5, 7, 8} as digits.

This page as a plain text file.
%I A386079 #6 Jul 16 2025 21:44:31
%S A386079 5,7,557,577,587,757,787,857,877,887,5077,5087,5507,5557,5807,5857,
%T A386079 7057,7507,7577,7757,7877,8087,8707,8807,8887,50077,50087,50587,50707,
%U A386079 50777,50857,55057,55787,55807,57077,57557,57587,57787,58057,58757,58787,70507,70877
%N A386079 Primes having only {0, 5, 7, 8} as digits.
%H A386079 Jason Bard, <a href="/A386079/b386079.txt">Table of n, a(n) for n = 1..10000</a>
%H A386079 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386079 Select[FromDigits /@ Tuples[{0, 5, 7, 8}, n], PrimeQ]
%o A386079 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 5, 7, 8]];
%o A386079 (Python) print(list(islice(primes_with("0578"), 41))) # uses function/imports in A385776
%o A386079 (PARI) primes_with(, 1, [0, 5, 7, 8]) \\ uses function in A385776
%Y A386079 Supersequence of A260827, A260830, A385771.
%Y A386079 Cf. A000040, A030432, A385776.
%K A386079 nonn,base,easy
%O A386079 1,1
%A A386079 _Jason Bard_, Jul 16 2025