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 A385798 #6 Jul 14 2025 16:42:05 %S A385798 5,59,89,599,859,8599,8999,9859,55589,55889,58889,59999,85889,85999, %T A385798 88589,89599,89899,89959,89989,95959,95989,98899,98999,99559,99859, %U A385798 99989,555589,558599,559859,585889,585899,585989,589859,598999,599899,599959,599999,855889 %N A385798 Primes having only {5, 8, 9} as digits. %H A385798 Jason Bard, <a href="/A385798/b385798.txt">Table of n, a(n) for n = 1..10000</a> %H A385798 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A385798 Flatten[Table[Select[FromDigits /@ Tuples[{5, 8, 9}, n], PrimeQ], {n, 7}]] %o A385798 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [5, 8, 9]]; %o A385798 (Python) print(list(islice(primes_with("589"), 41))) # uses function/imports in A385776 %o A385798 (PARI) primes_with(, 1, [5, 8, 9]) \\ uses function in A385776 %Y A385798 Supersequence of A020468, A020472. %Y A385798 Cf. A000040, A030433, A385776. %K A385798 nonn,base,easy %O A385798 1,1 %A A385798 _Jason Bard_, Jul 14 2025