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.

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

This page as a plain text file.
%I A386072 #6 Jul 16 2025 05:29:53
%S A386072 7,47,67,467,607,647,677,4007,4447,6007,6047,6067,6607,7477,7607,
%T A386072 44647,44777,46447,46477,46747,47407,47777,60077,60607,60647,64007,
%U A386072 64067,64667,64747,66047,66067,66467,67447,67477,67607,67777,70067,70607,70667,74047,74077
%N A386072 Primes having only {0, 4, 6, 7} as digits.
%H A386072 Jason Bard, <a href="/A386072/b386072.txt">Table of n, a(n) for n = 1..10000</a>
%H A386072 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386072 Select[FromDigits /@ Tuples[{0, 4, 6, 7}, n], PrimeQ]
%o A386072 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 4, 6, 7]];
%o A386072 (Python) print(list(islice(primes_with("0467"), 41))) # uses function/imports in A385776
%o A386072 (PARI) primes_with(, 1, [0, 4, 6, 7]) \\ uses function in A385776
%Y A386072 Subsequence of A030432.
%Y A386072 Supersequence of A384449, A385770, A385794.
%Y A386072 Cf. A000040, A385776.
%K A386072 nonn,base,easy
%O A386072 1,1
%A A386072 _Jason Bard_, Jul 16 2025