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 A385785 #8 Jul 13 2025 11:04:44 %S A385785 2,29,229,449,499,929,2999,4229,4999,9929,9949,22229,24229,24499, %T A385785 29429,42299,42499,42929,44249,44449,49429,49499,49999,94229,94949, %U A385785 94999,99929,222499,224299,224429,224449,224929,229249,229499,229949,242449,242999,244429 %N A385785 Primes having only {2, 4, 9} as digits. %H A385785 Jason Bard, <a href="/A385785/b385785.txt">Table of n, a(n) for n = 1..10000</a> %H A385785 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A385785 Flatten[Table[Select[FromDigits /@ Tuples[{2, 4, 9}, n], PrimeQ], {n, 7}]] %o A385785 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 4, 9]]; %o A385785 (Python) print(list(islice(primes_with("249"), 41))) # uses function/imports in A385776 %o A385785 (PARI) primes_with(, 1, [2, 4, 9]) \\ uses function in A385776 %Y A385785 Supersequence of A020460, A020466. %Y A385785 Cf. A000040, A030433, A385776. %K A385785 nonn,base,easy %O A385785 1,1 %A A385785 _Jason Bard_, Jul 13 2025