cp's OEIS Frontend

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.

A385793 Primes having only {4, 5, 9} as digits.

This page as a plain text file.
%I A385793 #6 Jul 14 2025 00:26:26
%S A385793 5,59,449,499,599,4549,4999,5449,9949,44449,44549,44959,45599,45949,
%T A385793 45959,49459,49499,49549,49559,49999,54449,54499,54559,54949,54959,
%U A385793 55949,59999,94559,94949,94999,95549,95959,99559,444449,445499,449459,449549,449959,455599
%N A385793 Primes having only {4, 5, 9} as digits.
%H A385793 Jason Bard, <a href="/A385793/b385793.txt">Table of n, a(n) for n = 1..10000</a>
%H A385793 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385793 Flatten[Table[Select[FromDigits /@ Tuples[{4, 5, 9}, n], PrimeQ], {n, 7}]]
%o A385793 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 5, 9]];
%o A385793 (Python) print(list(islice(primes_with("459"), 41))) # uses function/imports in A385776
%o A385793 (PARI) primes_with(, 1, [4, 5, 9]) \\ uses function in A385776
%Y A385793 Supersequence of A020466, A020468.
%Y A385793 Cf. A000040, A030433, A385776.
%K A385793 nonn,base,easy
%O A385793 1,1
%A A385793 _Jason Bard_, Jul 13 2025