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 A386186 #6 Jul 18 2025 18:20:20 %S A386186 3,83,89,383,389,683,839,863,883,983,3389,3833,3863,3889,3989,6389, %T A386186 6689,6833,6863,6869,6883,6899,6983,8363,8369,8389,8663,8669,8689, %U A386186 8693,8699,8839,8863,8893,8933,8963,8969,8999,9689,9833,9839,9883,33863,33889,33893,36383 %N A386186 Primes having only {3, 6, 8, 9} as digits. %H A386186 Jason Bard, <a href="/A386186/b386186.txt">Table of n, a(n) for n = 1..10000</a> %H A386186 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386186 Flatten[Table[Select[FromDigits /@ Tuples[{3, 6, 8, 9}, n], PrimeQ], {n, 7}]] %o A386186 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 6, 8, 9]]; %o A386186 (Python) print(list(islice(primes_with("3689"), 41))) # uses function/imports in A385776 %o A386186 (PARI) primes_with(, 1, [3, 6, 8, 9]) \\ uses function in A385776 %Y A386186 Supersequence of A385791, A385792, A385800. %Y A386186 Cf. A000040, A385776. %K A386186 nonn,base,easy %O A386186 1,1 %A A386186 _Jason Bard_, Jul 18 2025