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.

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

This page as a plain text file.
%I A386055 #6 Jul 15 2025 21:16:56
%S A386055 2,29,89,229,809,829,929,2029,2089,2099,2909,2999,8009,8089,8209,8929,
%T A386055 8999,9029,9209,9829,9929,20029,20089,20809,20899,20929,22229,28099,
%U A386055 28229,28289,28909,29009,29209,29989,80209,80809,80909,80929,80989,82009,82889,88289
%N A386055 Primes having only {0, 2, 8, 9} as digits.
%H A386055 Jason Bard, <a href="/A386055/b386055.txt">Table of n, a(n) for n = 1..10000</a>
%H A386055 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386055 Select[FromDigits /@ Tuples[{0, 2, 8, 9}, n], PrimeQ]
%o A386055 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 8, 9]];
%o A386055 (Python) print(list(islice(primes_with("0289"), 41))) # uses function/imports in A385776
%o A386055 (PARI) primes_with(, 1, [0, 2, 8, 9]) \\ uses function in A385776
%Y A386055 Supersequence of A261268, A385772, A385790.
%Y A386055 Cf. A000040, A030432, A385776.
%K A386055 nonn,base,easy
%O A386055 1,1
%A A386055 _Jason Bard_, Jul 15 2025