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.

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

This page as a plain text file.
%I A386069 #6 Jul 16 2025 05:29:37
%S A386069 3,83,89,383,389,809,839,883,983,3083,3089,3389,3803,3833,3889,3989,
%T A386069 8009,8039,8089,8093,8389,8803,8839,8893,8933,8999,9803,9833,9839,
%U A386069 9883,30089,30389,30803,30809,30839,30893,30983,33083,33809,33889,33893,38039,38083,38303
%N A386069 Primes having only {0, 3, 8, 9} as digits.
%H A386069 Jason Bard, <a href="/A386069/b386069.txt">Table of n, a(n) for n = 1..10000</a>
%H A386069 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386069 Select[FromDigits /@ Tuples[{0, 3, 8, 9}, n], PrimeQ]
%o A386069 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 8, 9]];
%o A386069 (Python) print(list(islice(primes_with("0389"), 41))) # uses function/imports in A385776
%o A386069 (PARI) primes_with(, 1, [0, 3, 8, 9]) \\ uses function in A385776
%Y A386069 Supersequence of A261434, A385772, A385792.
%Y A386069 Cf. A000040, A385776.
%K A386069 nonn,base,easy
%O A386069 1,1
%A A386069 _Jason Bard_, Jul 16 2025