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 A386071 #6 Jul 16 2025 05:29:47 %S A386071 5,59,409,449,499,509,599,4049,4099,4409,4549,4909,4999,5009,5059, %T A386071 5099,5449,9049,9059,9949,40009,40099,40459,40499,40559,40949,44059, %U A386071 44449,44549,44909,44959,45599,45949,45959,49009,49409,49459,49499,49549,49559,49999,50459 %N A386071 Primes having only {0, 4, 5, 9} as digits. %H A386071 Jason Bard, <a href="/A386071/b386071.txt">Table of n, a(n) for n = 1..10000</a> %H A386071 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386071 Select[FromDigits /@ Tuples[{0, 4, 5, 9}, n], PrimeQ] %o A386071 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 4, 5, 9]]; %o A386071 (Python) print(list(islice(primes_with("0459"), 41))) # uses function/imports in A385776 %o A386071 (PARI) primes_with(, 1, [0, 4, 5, 9]) \\ uses function in A385776 %Y A386071 Supersequence of A385758, A385769, A385793. %Y A386071 Cf. A000040, A030433, A385776. %K A386071 nonn,base,easy %O A386071 1,1 %A A386071 _Jason Bard_, Jul 16 2025