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.

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

This page as a plain text file.
%I A385788 #6 Jul 14 2025 00:26:47
%S A385788 2,29,229,269,929,2269,2699,2969,2999,6229,6269,6299,9629,9929,22229,
%T A385788 22669,22699,26669,26699,29269,29629,29669,62299,62929,62969,66629,
%U A385788 69929,92269,92669,92699,96269,99929,222269,226669,229699,266269,266999,292969,296269
%N A385788 Primes having only {2, 6, 9} as digits.
%H A385788 Jason Bard, <a href="/A385788/b385788.txt">Table of n, a(n) for n = 1..10000</a>
%H A385788 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385788 Flatten[Table[Select[FromDigits /@ Tuples[{2, 6, 9}, n], PrimeQ], {n, 7}]]
%o A385788 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 6, 9]];
%o A385788 (Python) print(list(islice(primes_with("269"), 41))) # uses function/imports in A385776
%o A385788 (PARI) primes_with(, 1, [2, 6, 9]) \\ uses function in A385776
%Y A385788 Supersequence of A020460.
%Y A385788 Cf. A000040, A030433, A385776.
%K A385788 nonn,base,easy
%O A385788 1,1
%A A385788 _Jason Bard_, Jul 13 2025