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.

A386058 Primes having only {0, 3, 4, 7} as digits.

This page as a plain text file.
%I A386058 #6 Jul 15 2025 23:58:06
%S A386058 3,7,37,43,47,73,307,337,347,373,433,443,733,743,773,3037,3307,3343,
%T A386058 3347,3373,3407,3433,3733,4003,4007,4073,4337,4373,4447,4703,4733,
%U A386058 7043,7307,7333,7433,7477,7703,30047,30307,30347,30403,30703,30707,30773,33037,33073
%N A386058 Primes having only {0, 3, 4, 7} as digits.
%H A386058 Jason Bard, <a href="/A386058/b386058.txt">Table of n, a(n) for n = 1..10000</a>
%H A386058 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386058 Select[FromDigits /@ Tuples[{0, 3, 4, 7}, n], PrimeQ]
%o A386058 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 4, 7]];
%o A386058 (Python) print(list(islice(primes_with("0347"), 41))) # uses function/imports in A385776
%o A386058 (PARI) primes_with(, 1, [0, 3, 4, 7]) \\ uses function in A385776
%Y A386058 Supersequence of A199340, A199347, A260378, A384449.
%Y A386058 Cf. A000040, A385776.
%K A386058 nonn,base,easy
%O A386058 1,1
%A A386058 _Jason Bard_, Jul 15 2025