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 A385786 #9 Jul 13 2025 11:04:48 %S A385786 2,5,29,59,229,599,929,2999,9929,22229,22259,25229,25999,29599,29959, %T A385786 52259,52529,52999,55229,55259,55529,59929,59999,92959,95929,95959, %U A385786 99259,99529,99559,99929,225299,225529,229529,252559,255259,259229,295259,522229,522259 %N A385786 Primes having only {2, 5, 9} as digits. %H A385786 Jason Bard, <a href="/A385786/b385786.txt">Table of n, a(n) for n = 1..10000</a> %H A385786 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A385786 Flatten[Table[Select[FromDigits /@ Tuples[{2, 5, 9}, n], PrimeQ], {n, 7}]] %o A385786 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 5, 9]]; %o A385786 (Python) print(list(islice(primes_with("259"), 41))) # uses function/imports in A385776 %o A385786 (PARI) primes_with(, 1, [2, 5, 9]) \\ uses function in A385776 %Y A385786 Supersequence of A020460, A020468. %Y A385786 Cf. A000040, A030433, A385776. %K A385786 nonn,base,easy %O A385786 1,1 %A A385786 _Jason Bard_, Jul 13 2025