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.

A386196 Primes having only {5, 6, 7, 8} as digits.

This page as a plain text file.
%I A386196 #7 Jul 18 2025 21:41:19
%S A386196 5,7,67,557,577,587,677,757,787,857,877,887,5557,5657,5857,5867,6577,
%T A386196 6857,7577,7687,7757,7867,7877,8677,8867,8887,55667,55787,56687,56767,
%U A386196 56857,57557,57587,57667,57787,58567,58657,58687,58757,58787,65557,65587,65657,65677
%N A386196 Primes having only {5, 6, 7, 8} as digits.
%H A386196 Jason Bard, <a href="/A386196/b386196.txt">Table of n, a(n) for n = 1..10000</a>
%H A386196 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386196 Flatten[Table[Select[FromDigits /@ Tuples[{5, 6, 7, 8}, n], PrimeQ], {n, 7}]]
%o A386196 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [5, 6, 7, 8]];
%o A386196 (Python) print(list(islice(primes_with("5678"), 41))) # uses function/imports in A385776
%o A386196 (PARI) primes_with(, 1, [5, 6, 7, 8]) \\ uses function in A385776
%Y A386196 Supersequence of A260829, A260830, A385799.
%Y A386196 Cf. A000040, A030432, A106111, A385776.
%K A386196 nonn,base,easy
%O A386196 1,1
%A A386196 _Jason Bard_, Jul 18 2025