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.

A386342 Primes without {3, 7} as digits.

This page as a plain text file.
%I A386342 #7 Jul 20 2025 08:56:16
%S A386342 2,5,11,19,29,41,59,61,89,101,109,149,151,181,191,199,211,229,241,251,
%T A386342 269,281,401,409,419,421,449,461,491,499,509,521,541,569,599,601,619,
%U A386342 641,659,661,691,809,811,821,829,859,881,911,919,929,941,991,1009,1019
%N A386342 Primes without {3, 7} as digits.
%H A386342 Jason Bard, <a href="/A386342/b386342.txt">Table of n, a(n) for n = 1..10000</a>
%H A386342 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386342 Select[Prime[Range[120]], DigitCount[#, 10, 3] == 0 && DigitCount[#, 10, 7] == 0 &]
%o A386342 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 2, 4, 5, 6, 8, 9]];
%o A386342 (Python) print(list(islice(primes_with("01245689"), 41))) # uses function/imports in A385776
%o A386342 (PARI) primes_with(, 1, [0, 1, 2, 4, 5, 6, 8, 9]) \\ uses function in A385776
%Y A386342 Intersection of A038611 and A038615.
%Y A386342 Cf. A000040, A020463, A385776.
%K A386342 nonn,base,easy
%O A386342 1,1
%A A386342 _Jason Bard_, Jul 20 2025