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.

A386174 Primes having only {3, 4, 6, 8} as digits.

This page as a plain text file.
%I A386174 #6 Jul 18 2025 16:49:54
%S A386174 3,43,83,383,433,443,463,643,683,863,883,3343,3433,3463,3643,3833,
%T A386174 3863,4363,4463,4483,4643,4663,6343,6833,6863,6883,8363,8443,8663,
%U A386174 8863,33343,33863,34483,34843,34883,36343,36383,36433,36643,36683,36833,38333,38833,43633
%N A386174 Primes having only {3, 4, 6, 8} as digits.
%H A386174 Jason Bard, <a href="/A386174/b386174.txt">Table of n, a(n) for n = 1..10000</a>
%H A386174 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386174 Flatten[Table[Select[FromDigits /@ Tuples[{3, 4, 6, 8}, n], PrimeQ], {n, 7}]]
%o A386174 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 4, 6, 8]];
%o A386174 (Python) print(list(islice(primes_with("3468"), 41))) # uses function/imports in A385776
%o A386174 (PARI) primes_with(, 1, [3, 4, 6, 8]) \\ uses function in A385776
%Y A386174 Supersequence of A199346, A199348, A385791.
%Y A386174 Cf. A000040, A030431, A385776.
%K A386174 nonn,base,easy
%O A386174 1,1
%A A386174 _Jason Bard_, Jul 18 2025