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.

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

This page as a plain text file.
%I A385794 #6 Jul 14 2025 00:26:21
%S A385794 7,47,67,467,647,677,4447,7477,44647,44777,46447,46477,46747,47777,
%T A385794 64667,64747,66467,67447,67477,67777,74747,76667,76777,77447,77477,
%U A385794 77647,77747,444677,444767,446447,446477,446647,446767,447467,447677,464447,464467,464647,464747
%N A385794 Primes having only {4, 6, 7} as digits.
%H A385794 Jason Bard, <a href="/A385794/b385794.txt">Table of n, a(n) for n = 1..10000</a>
%H A385794 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385794 Flatten[Table[Select[FromDigits /@ Tuples[{4, 6, 7}, n], PrimeQ], {n, 7}]]
%o A385794 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 6, 7]];
%o A385794 (Python) print(list(islice(primes_with("467"), 41))) # uses function/imports in A385776
%o A385794 (PARI) primes_with(, 1, [4, 6, 7]) \\ uses function in A385776
%Y A385794 Subsequence of A030432.
%Y A385794 Supersequence of A020465, A020469.
%Y A385794 Cf. A000040, A385776.
%K A385794 nonn,base,easy
%O A385794 1,1
%A A385794 _Jason Bard_, Jul 13 2025