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.

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

This page as a plain text file.
%I A386189 #6 Jul 18 2025 21:40:39
%S A386189 5,59,449,499,569,599,659,4549,4649,4969,4999,5449,5569,5659,5669,
%T A386189 6449,6469,6569,6599,6659,6949,6959,9649,9949,44449,44549,44699,44959,
%U A386189 45569,45599,45659,45949,45959,46499,46549,46559,46649,49459,49499,49549,49559,49669
%N A386189 Primes having only {4, 5, 6, 9} as digits.
%H A386189 Jason Bard, <a href="/A386189/b386189.txt">Table of n, a(n) for n = 1..10000</a>
%H A386189 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386189 Flatten[Table[Select[FromDigits /@ Tuples[{4, 5, 6, 9}, n], PrimeQ], {n, 7}]]
%o A386189 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 5, 6, 9]];
%o A386189 (Python) print(list(islice(primes_with("4569"), 41))) # uses function/imports in A385776
%o A386189 (PARI) primes_with(, 1, [4, 5, 6, 9]) \\ uses function in A385776
%Y A386189 Supersequence of A107666, A385793, A385797.
%Y A386189 Cf. A000040, A030433, A385776.
%K A386189 nonn,base,easy
%O A386189 1,1
%A A386189 _Jason Bard_, Jul 18 2025