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 A386122 #6 Jul 17 2025 07:15:55 %S A386122 5,11,19,41,59,149,151,191,199,419,449,491,499,541,599,911,919,941, %T A386122 991,1151,1451,1459,1499,1511,1549,1559,1949,1951,1999,4111,4159,4441, %U A386122 4451,4519,4549,4591,4919,4951,4999,5119,5419,5441,5449,5519,5591,9151,9199,9419 %N A386122 Primes having only {1, 4, 5, 9} as digits. %H A386122 Jason Bard, <a href="/A386122/b386122.txt">Table of n, a(n) for n = 1..10000</a> %H A386122 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386122 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 5, 9}, n], PrimeQ], {n, 7}]] %o A386122 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 5, 9]]; %o A386122 (Python) print(list(islice(primes_with("1459"), 41))) # uses function/imports in A385776 %o A386122 (PARI) primes_with(, 1, [1, 4, 5, 9]) \\ uses function in A385776 %Y A386122 Supersequence of A260268, A260271, A385781, A385793. %Y A386122 Cf. A000040, A385776. %K A386122 nonn,base,easy %O A386122 1,1 %A A386122 _Jason Bard_, Jul 17 2025