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 A386094 #6 Jul 16 2025 23:38:53 %S A386094 2,11,19,29,41,149,191,199,211,229,241,419,421,449,491,499,911,919, %T A386094 929,941,991,1129,1229,1249,1291,1429,1499,1949,1999,2111,2129,2141, %U A386094 2221,2411,2441,2999,4111,4129,4211,4219,4229,4241,4421,4441,4919,4999,9199,9221 %N A386094 Primes having only {1, 2, 4, 9} as digits. %H A386094 Jason Bard, <a href="/A386094/b386094.txt">Table of n, a(n) for n = 1..10000</a> %H A386094 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386094 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 4, 9}, n], PrimeQ], {n, 7}]] %o A386094 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 4, 9]]; %o A386094 (Python) print(list(islice(primes_with("1249"), 41))) # uses function/imports in A385776 %o A386094 (PARI) primes_with(, 1, [1, 2, 4, 9]) \\ uses function in A385776 %Y A386094 Supersequence of A260267, A260271, A385776, A385785. %Y A386094 Cf. A000040, A385776. %K A386094 nonn,base,easy %O A386094 1,1 %A A386094 _Jason Bard_, Jul 16 2025