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.
%I A386045 #7 Jul 15 2025 18:06:15 %S A386045 2,3,23,83,223,233,283,383,823,883,2003,2083,2203,2333,2383,2803,2833, %T A386045 3023,3083,3203,3323,3803,3823,3833,8233,8803,20023,20233,20323,20333, %U A386045 22003,22283,22303,23003,23203,23333,23833,28283,30203,30223,30323,30803,32003,32083 %N A386045 Primes having only {0, 2, 3, 8} as digits. %H A386045 Jason Bard, <a href="/A386045/b386045.txt">Table of n, a(n) for n = 1..10000</a> %H A386045 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386045 Select[FromDigits /@ Tuples[{0, 2, 3, 8}, n], PrimeQ] %o A386045 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 3, 8]]; %o A386045 (Python) print(list(islice(primes_with("0238"), 41))) # uses function/imports in A385776 %o A386045 (PARI) primes_with(, 1, [0, 2, 3, 8]) \\ uses function in A385776 %Y A386045 Supersequence of A260125, A260127. %Y A386045 Cf. A000040, A030431, A385776. %K A386045 nonn,base,easy %O A386045 1,1 %A A386045 _Jason Bard_, Jul 15 2025