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.

A386193 Primes having only {4, 6, 7, 8} as digits.

This page as a plain text file.
%I A386193 #6 Jul 18 2025 21:40:53
%S A386193 7,47,67,467,487,647,677,787,877,887,4447,4787,4877,7477,7487,7687,
%T A386193 7867,7877,8447,8467,8647,8677,8747,8867,8887,44647,44687,44777,44867,
%U A386193 44887,46447,46477,46687,46747,46867,46877,47777,48487,48647,48677,48767,48787,48847
%N A386193 Primes having only {4, 6, 7, 8} as digits.
%H A386193 Jason Bard, <a href="/A386193/b386193.txt">Table of n, a(n) for n = 1..10000</a>
%H A386193 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386193 Flatten[Table[Select[FromDigits /@ Tuples[{4, 6, 7, 8}, n], PrimeQ], {n, 7}]]
%o A386193 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 6, 7, 8]];
%o A386193 (Python) print(list(islice(primes_with("4678"), 41))) # uses function/imports in A385776
%o A386193 (PARI) primes_with(, 1, [4, 6, 7, 8]) \\ uses function in A385776
%Y A386193 Supersequence of A385794, A385795, A385799.
%Y A386193 Cf. A000040, A030432, A051416, A385776.
%K A386193 nonn,base,easy
%O A386193 1,1
%A A386193 _Jason Bard_, Jul 18 2025