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 A386104 #6 Jul 17 2025 00:50:15 %S A386104 2,11,19,29,89,181,191,199,211,229,281,811,821,829,881,911,919,929, %T A386104 991,1129,1181,1229,1289,1291,1811,1889,1999,2111,2129,2221,2281,2819, %U A386104 2999,8111,8191,8219,8221,8291,8819,8821,8929,8999,9181,9199,9221,9281,9811,9829 %N A386104 Primes having only {1, 2, 8, 9} as digits. %H A386104 Jason Bard, <a href="/A386104/b386104.txt">Table of n, a(n) for n = 1..10000</a> %H A386104 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386104 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 8, 9}, n], PrimeQ], {n, 7}]] %o A386104 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 8, 9]]; %o A386104 (Python) print(list(islice(primes_with("1289"), 41))) # uses function/imports in A385776 %o A386104 (PARI) primes_with(, 1, [1, 2, 8, 9]) \\ uses function in A385776 %Y A386104 Supersequence of A385775, A385776, A385783, A385790. %Y A386104 Cf. A000040, A385776. %K A386104 nonn,base,easy %O A386104 1,1 %A A386104 _Jason Bard_, Jul 17 2025