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.

A386032 Primes having only {0, 1, 5, 7} as digits.

This page as a plain text file.
%I A386032 #6 Jul 15 2025 08:28:23
%S A386032 5,7,11,17,71,101,107,151,157,557,571,577,701,751,757,1051,1117,1151,
%T A386032 1171,1511,1571,1777,5011,5051,5077,5101,5107,5171,5501,5507,5557,
%U A386032 5701,5711,5717,7001,7057,7151,7177,7507,7517,7577,7717,7757,10007,10111,10151,10177
%N A386032 Primes having only {0, 1, 5, 7} as digits.
%H A386032 Jason Bard, <a href="/A386032/b386032.txt">Table of n, a(n) for n = 1..10000</a>
%H A386032 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386032 Select[FromDigits /@ Tuples[{0, 1, 5, 7}, n], PrimeQ]
%o A386032 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 5, 7]];
%o A386032 (Python) print(list(islice(primes_with("0157"), 41))) # uses function/imports in A385776
%o A386032 (PARI) primes_with(, 1, [0, 1, 5, 7]) \\ uses function in A385776
%Y A386032 Supersequence of A199325, A199327, A260828.
%Y A386032 Cf. A000040, A385776.
%K A386032 nonn,base,easy
%O A386032 1,1
%A A386032 _Jason Bard_, Jul 14 2025