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 A386137 #6 Jul 17 2025 22:42:09 %S A386137 11,19,61,89,181,191,199,619,661,691,811,881,911,919,991,1181,1619, %T A386137 1669,1699,1811,1861,1889,1999,6199,6619,6661,6689,6691,6869,6899, %U A386137 6911,6961,6991,8111,8161,8191,8669,8681,8689,8699,8819,8861,8969,8999,9161,9181,9199 %N A386137 Primes having only {1, 6, 8, 9} as digits. %H A386137 Jason Bard, <a href="/A386137/b386137.txt">Table of n, a(n) for n = 1..10000</a> %H A386137 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386137 Flatten[Table[Select[FromDigits /@ Tuples[{1, 6, 8, 9}, n], PrimeQ], {n, 7}]] %o A386137 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 6, 8, 9]]; %o A386137 (Python) print(list(islice(primes_with("1689"), 41))) # uses function/imports in A385776 %o A386137 (PARI) primes_with(, 1, [1, 6, 8, 9]) \\ uses function in A385776 %Y A386137 Supersequence of A363023, A385782, A385783, A385800. %Y A386137 Cf. A000040, A385776. %K A386137 nonn,base,easy %O A386137 1,1 %A A386137 _Jason Bard_, Jul 17 2025