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.

A386179 Primes having only {3, 5, 6, 8} as digits.

This page as a plain text file.
%I A386179 #6 Jul 18 2025 18:20:44
%S A386179 3,5,53,83,353,383,563,653,683,853,863,883,3533,3583,3833,3853,3863,
%T A386179 5333,5563,5653,5683,6353,6553,6563,6653,6833,6863,6883,8353,8363,
%U A386179 8563,8663,8863,33353,33533,33563,33863,35353,35363,35533,35863,36353,36383,36563,36583
%N A386179 Primes having only {3, 5, 6, 8} as digits.
%H A386179 Jason Bard, <a href="/A386179/b386179.txt">Table of n, a(n) for n = 1..10000</a>
%H A386179 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386179 Flatten[Table[Select[FromDigits /@ Tuples[{3, 5, 6, 8}, n], PrimeQ], {n, 7}]]
%o A386179 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 5, 6, 8]];
%o A386179 (Python) print(list(islice(primes_with("3568"), 41))) # uses function/imports in A385776
%o A386179 (PARI) primes_with(, 1, [3, 5, 6, 8]) \\ uses function in A385776
%Y A386179 Supersequence of A260225, A260226, A385791.
%Y A386179 Cf. A000040, A030431, A385776.
%K A386179 nonn,base,easy
%O A386179 1,1
%A A386179 _Jason Bard_, Jul 18 2025