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.

A385790 Primes having only {2, 8, 9} as digits.

This page as a plain text file.
%I A385790 #6 Jul 14 2025 00:26:37
%S A385790 2,29,89,229,829,929,2999,8929,8999,9829,9929,22229,28229,28289,29989,
%T A385790 82889,88289,89899,89989,92899,98299,98899,98929,98999,99289,99829,
%U A385790 99929,99989,222289,228299,228829,228929,228989,282229,282299,282889,288929,288989,289889
%N A385790 Primes having only {2, 8, 9} as digits.
%H A385790 Jason Bard, <a href="/A385790/b385790.txt">Table of n, a(n) for n = 1..10000</a>
%H A385790 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385790 Flatten[Table[Select[FromDigits /@ Tuples[{2, 8, 9}, n], PrimeQ], {n, 7}]]
%o A385790 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 8, 9]];
%o A385790 (Python) print(list(islice(primes_with("289"), 41))) # uses function/imports in A385776
%o A385790 (PARI) primes_with(, 1, [2, 8, 9]) \\ uses function in A385776
%Y A385790 Supersequence of A020460, A020472.
%Y A385790 Cf. A000040, A030433, A385776.
%K A385790 nonn,base,easy
%O A385790 1,1
%A A385790 _Jason Bard_, Jul 13 2025