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.

A386041 Primes having only {0, 2, 3, 4} as digits.

This page as a plain text file.
%I A386041 #6 Jul 15 2025 18:04:45
%S A386041 2,3,23,43,223,233,433,443,2003,2203,2243,2333,2423,3023,3203,3323,
%T A386041 3343,3433,4003,4243,4423,20023,20233,20323,20333,20443,22003,22303,
%U A386041 22343,22433,23003,23203,23333,24023,24043,24203,24223,24443,30203,30223,30323,30403,32003
%N A386041 Primes having only {0, 2, 3, 4} as digits.
%H A386041 Jason Bard, <a href="/A386041/b386041.txt">Table of n, a(n) for n = 1..10000</a>
%H A386041 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386041 Select[FromDigits /@ Tuples[{0, 2, 3, 4}, n], PrimeQ]
%o A386041 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 3, 4]];
%o A386041 (Python) print(list(islice(primes_with("0234"), 41))) # uses function/imports in A385776
%o A386041 (PARI) primes_with(, 1, [0, 2, 3, 4]) \\ uses function in A385776
%Y A386041 Supersequence of A199342, A260125.
%Y A386041 Cf. A000040, A030431, A385776.
%K A386041 nonn,base,easy
%O A386041 1,1
%A A386041 _Jason Bard_, Jul 15 2025