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.

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

This page as a plain text file.
%I A386192 #6 Jul 18 2025 21:40:49
%S A386192 5,59,89,449,499,599,859,4549,4889,4999,5449,5849,8599,8849,8999,9859,
%T A386192 9949,44449,44549,44959,45589,45599,45949,45959,45989,48449,48589,
%U A386192 48859,48889,48989,49459,49499,49549,49559,49999,54449,54499,54559,54949,54959,55589,55849
%N A386192 Primes having only {4, 5, 8, 9} as digits.
%H A386192 Jason Bard, <a href="/A386192/b386192.txt">Table of n, a(n) for n = 1..10000</a>
%H A386192 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386192 Flatten[Table[Select[FromDigits /@ Tuples[{4, 5, 8, 9}, n], PrimeQ], {n, 7}]]
%o A386192 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 5, 8, 9]];
%o A386192 (Python) print(list(islice(primes_with("4589"), 41))) # uses function/imports in A385776
%o A386192 (PARI) primes_with(, 1, [4, 5, 8, 9]) \\ uses function in A385776
%Y A386192 Supersequence of A385793, A385796, A385798.
%Y A386192 Cf. A000040, A030433, A385776.
%K A386192 nonn,base,easy
%O A386192 1,1
%A A386192 _Jason Bard_, Jul 18 2025