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.

A386043 Primes having only {0, 2, 3, 6} as digits.

This page as a plain text file.
%I A386043 #6 Jul 15 2025 18:06:29
%S A386043 2,3,23,223,233,263,2003,2063,2203,2333,2633,2663,3023,3203,3323,3623,
%T A386043 6203,6263,6323,20023,20063,20233,20323,20333,20663,22003,22063,22303,
%U A386043 23003,23063,23203,23333,23603,23623,23633,23663,26003,26203,26263,26633,30203,30223
%N A386043 Primes having only {0, 2, 3, 6} as digits.
%H A386043 Jason Bard, <a href="/A386043/b386043.txt">Table of n, a(n) for n = 1..10000</a>
%H A386043 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386043 Select[FromDigits /@ Tuples[{0, 2, 3, 6}, n], PrimeQ]
%o A386043 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 3, 6]];
%o A386043 (Python) print(list(islice(primes_with("0236"), 41))) # uses function/imports in A385776
%o A386043 (PARI) primes_with(, 1, [0, 2, 3, 6]) \\ uses function in A385776
%Y A386043 Supersequence of A260125, A260126.
%Y A386043 Cf. A000040, A030431, A385776.
%K A386043 nonn,base,easy
%O A386043 1,1
%A A386043 _Jason Bard_, Jul 15 2025