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 A386167 #6 Jul 18 2025 16:50:22 %S A386167 2,29,89,229,269,829,929,2269,2689,2699,2969,2999,6229,6269,6299,6689, %T A386167 6829,6869,6899,8269,8629,8669,8689,8699,8929,8969,8999,9629,9689, %U A386167 9829,9929,22229,22669,22699,26669,26699,28229,28289,28669,29269,29629,29669,29989,62299 %N A386167 Primes having only {2, 6, 8, 9} as digits. %H A386167 Jason Bard, <a href="/A386167/b386167.txt">Table of n, a(n) for n = 1..10000</a> %H A386167 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386167 Flatten[Table[Select[FromDigits /@ Tuples[{2, 6, 8, 9}, n], PrimeQ], {n, 7}]] %o A386167 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 6, 8, 9]]; %o A386167 (Python) print(list(islice(primes_with("2689"), 41))) # uses function/imports in A385776 %o A386167 (PARI) primes_with(, 1, [2, 6, 8, 9]) \\ uses function in A385776 %Y A386167 Supersequence of A385788, A385790, A385800. %Y A386167 Cf. A000040, A030433, A385776. %K A386167 nonn,base,easy %O A386167 1,1 %A A386167 _Jason Bard_, Jul 18 2025