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 A385781 #8 Jul 13 2025 11:04:59 %S A385781 5,11,19,59,151,191,199,599,911,919,991,1151,1511,1559,1951,1999,5119, %T A385781 5519,5591,9151,9199,9511,9551,11119,11159,11519,11551,11959,15199, %U A385781 15511,15551,15559,15919,15959,15991,19559,19919,19991,51151,51199,51511,51551 %N A385781 Primes having only {1, 5, 9} as digits. %H A385781 Jason Bard, <a href="/A385781/b385781.txt">Table of n, a(n) for n = 1..10000</a> %H A385781 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A385781 Flatten[Table[Select[FromDigits /@ Tuples[{1, 5, 9}, n], PrimeQ], {n, 7}]] %o A385781 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 5, 9]]; %o A385781 (Python) print(list(islice(primes_with("159"), 41))) # uses function/imports in A385776 %o A385781 (PARI) primes_with(, 1, [1, 5, 9]) \\ uses function in A385776 %Y A385781 Supersequence of A020453, A020457, A020468. %Y A385781 Cf. A000040, A385776. %K A385781 nonn,base,easy %O A385781 1,1 %A A385781 _Jason Bard_, Jul 13 2025