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 A386198 #6 Jul 18 2025 23:50:53 %S A386198 5,59,89,569,599,659,859,5569,5659,5669,5689,5869,6569,6599,6659,6689, %T A386198 6869,6899,6959,8599,8669,8689,8699,8969,8999,9689,9859,55589,55889, %U A386198 56569,56599,56659,56989,56999,58699,58889,59659,59669,59699,59999,65599,65699,65899 %N A386198 Primes having only {5, 6, 8, 9} as digits. %H A386198 Jason Bard, <a href="/A386198/b386198.txt">Table of n, a(n) for n = 1..10000</a> %H A386198 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386198 Flatten[Table[Select[FromDigits /@ Tuples[{5, 6, 8, 9}, n], PrimeQ], {n, 7}]] %o A386198 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [5, 6, 8, 9]]; %o A386198 (Python) print(list(islice(primes_with("5689"), 41))) # uses function/imports in A385776 %o A386198 (PARI) primes_with(, 1, [5, 6, 8, 9]) \\ uses function in A385776 %Y A386198 Supersequence of A385797, A385798, A385800. %Y A386198 Cf. A000040, A030433, A106111, A385776. %K A386198 nonn,base,easy %O A386198 1,1 %A A386198 _Jason Bard_, Jul 18 2025