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.

A386052 Primes having only {0, 2, 6, 9} as digits.

This page as a plain text file.
%I A386052 #6 Jul 15 2025 21:16:45
%S A386052 2,29,229,269,929,2029,2069,2099,2269,2609,2699,2909,2969,2999,6029,
%T A386052 6229,6269,6299,9029,9209,9629,9929,20029,20269,20929,22229,22669,
%U A386052 22699,26029,26099,26209,26669,26699,29009,29209,29269,29629,29669,60029,60209,62099,62299
%N A386052 Primes having only {0, 2, 6, 9} as digits.
%H A386052 Jason Bard, <a href="/A386052/b386052.txt">Table of n, a(n) for n = 1..10000</a>
%H A386052 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386052 Select[FromDigits /@ Tuples[{0, 2, 6, 9}, n], PrimeQ]
%o A386052 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 6, 9]];
%o A386052 (Python) print(list(islice(primes_with("0269"), 41))) # uses function/imports in A385776
%o A386052 (PARI) primes_with(, 1, [0, 2, 6, 9]) \\ uses function in A385776
%Y A386052 Supersequence of A261268, A385788.
%Y A386052 Cf. A000040, A030433, A385776.
%K A386052 nonn,base,easy
%O A386052 1,1
%A A386052 _Jason Bard_, Jul 15 2025