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.

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

This page as a plain text file.
%I A385796 #6 Jul 14 2025 00:26:14
%S A385796 89,449,499,4889,4999,8849,8999,9949,44449,48449,48889,48989,49499,
%T A385796 49999,84449,84499,88499,89449,89849,89899,89989,94849,94889,94949,
%U A385796 94999,98849,98899,98999,99989,444449,448999,449989,484489,484999,489449,489989,494849,494899
%N A385796 Primes having only {4, 8, 9} as digits.
%H A385796 Jason Bard, <a href="/A385796/b385796.txt">Table of n, a(n) for n = 1..10000</a>
%H A385796 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385796 Flatten[Table[Select[FromDigits /@ Tuples[{4, 8, 9}, n], PrimeQ], {n, 7}]]
%o A385796 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 8, 9]];
%o A385796 (Python) print(list(islice(primes_with("489"), 41))) # uses function/imports in A385776
%o A385796 (PARI) primes_with(, 1, [4, 8, 9]) \\ uses function in A385776
%Y A385796 Subsequence of A030433.
%Y A385796 Supersequence of A020466, A020472.
%Y A385796 Cf. A000040, A385776.
%K A385796 nonn,base,easy
%O A385796 1,1
%A A385796 _Jason Bard_, Jul 13 2025