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 A386046 #6 Jul 15 2025 18:06:21 %S A386046 2,3,23,29,223,229,233,239,293,929,2003,2029,2039,2099,2203,2239,2293, %T A386046 2309,2333,2339,2393,2399,2903,2909,2939,2999,3023,3203,3209,3229, %U A386046 3299,3323,3329,3923,3929,9029,9203,9209,9239,9293,9323,9923,9929,20023,20029,20233 %N A386046 Primes having only {0, 2, 3, 9} as digits. %H A386046 Jason Bard, <a href="/A386046/b386046.txt">Table of n, a(n) for n = 1..10000</a> %H A386046 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386046 Select[FromDigits /@ Tuples[{0, 2, 3, 9}, n], PrimeQ] %o A386046 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 3, 9]]; %o A386046 (Python) print(list(islice(primes_with("0239"), 41))) # uses function/imports in A385776 %o A386046 (PARI) primes_with(, 1, [0, 2, 3, 9]) \\ uses function in A385776 %Y A386046 Supersequence of A260125, A260128, A261268. %Y A386046 Cf. A000040, A385776. %K A386046 nonn,base,easy %O A386046 1,1 %A A386046 _Jason Bard_, Jul 15 2025