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 A386128 #6 Jul 17 2025 19:36:23 %S A386128 11,19,41,89,149,181,191,199,419,449,491,499,811,881,911,919,941,991, %T A386128 1181,1481,1489,1499,1811,1889,1949,1999,4111,4441,4481,4889,4919, %U A386128 4999,8111,8191,8419,8819,8849,8941,8999,9181,9199,9419,9491,9811,9941,9949,11119 %N A386128 Primes having only {1, 4, 8, 9} as digits. %H A386128 Jason Bard, <a href="/A386128/b386128.txt">Table of n, a(n) for n = 1..10000</a> %H A386128 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386128 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 8, 9}, n], PrimeQ], {n, 7}]] %o A386128 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 8, 9]]; %o A386128 (Python) print(list(islice(primes_with("1489"), 41))) # uses function/imports in A385776 %o A386128 (PARI) primes_with(, 1, [1, 4, 8, 9]) \\ uses function in A385776 %Y A386128 Supersequence of A260270, A260271, A385783, A385796. %Y A386128 Cf. A000040, A385776. %K A386128 nonn,base,easy %O A386128 1,1 %A A386128 _Jason Bard_, Jul 17 2025