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.

A385772 Primes having only {0, 8, 9} as digits.

This page as a plain text file.
%I A385772 #13 Jul 12 2025 21:20:58
%S A385772 89,809,8009,8089,8999,80809,80909,80989,89009,89809,89899,89909,
%T A385772 89989,90089,90989,98009,98809,98899,98909,98999,99089,99809,99989,
%U A385772 800089,800909,800999,809909,880909,888809,888989,889909,890809,890999,898889,899009,900089
%N A385772 Primes having only {0, 8, 9} as digits.
%H A385772 Jason Bard, <a href="/A385772/b385772.txt">Table of n, a(n) for n = 1..10000</a>
%H A385772 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%e A385772 8999 is a term because it is prime and has only {0,8,9} as digits.
%t A385772 Select[FromDigits/@Tuples[{0,8,9},5],PrimeQ]
%o A385772 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 8, 9]];
%o A385772 (Python) print(list(islice(primes_with("089"), 41))) # uses function/imports in A385776
%o A385772 (PARI) primes_with(, 1, [0, 8, 9]) \\ uses function in A385776
%Y A385772 Subsequence of A030433.
%Y A385772 Cf. A000040, A020472, A385776.
%K A385772 nonn,base,easy
%O A385772 1,1
%A A385772 _Jason Bard_, Jul 09 2025