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.

A386062 Primes having only {0, 3, 5, 7} as digits.

This page as a plain text file.
%I A386062 #6 Jul 15 2025 23:58:23
%S A386062 3,5,7,37,53,73,307,337,353,373,503,557,577,733,757,773,3037,3307,
%T A386062 3373,3533,3557,3733,5003,5077,5303,5333,5503,5507,5557,5573,5737,
%U A386062 7057,7307,7333,7507,7537,7573,7577,7703,7753,7757,30307,30553,30557,30577,30703,30707
%N A386062 Primes having only {0, 3, 5, 7} as digits.
%H A386062 Jason Bard, <a href="/A386062/b386062.txt">Table of n, a(n) for n = 1..10000</a>
%H A386062 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386062 Select[FromDigits /@ Tuples[{0, 3, 5, 7}, n], PrimeQ]
%o A386062 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 5, 7]];
%o A386062 (Python) print(list(islice(primes_with("0357"), 41))) # uses function/imports in A385776
%o A386062 (PARI) primes_with(, 1, [0, 3, 5, 7]) \\ uses function in A385776
%Y A386062 Supersequence of A087363, A260223, A260378, A260827.
%Y A386062 Cf. A000040, A385776.
%K A386062 nonn,base,easy
%O A386062 1,1
%A A386062 _Jason Bard_, Jul 15 2025