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.

A385800 Primes having only {6, 8, 9} as digits.

This page as a plain text file.
%I A385800 #6 Jul 14 2025 16:42:12
%S A385800 89,6689,6869,6899,8669,8689,8699,8969,8999,9689,66889,68669,68699,
%T A385800 68899,69899,86689,86869,86969,88969,89669,89689,89899,89989,96989,
%U A385800 98669,98689,98869,98899,98999,99689,99989,666889,666989,668699,668869,668989,668999,669689,669869
%N A385800 Primes having only {6, 8, 9} as digits.
%H A385800 Jason Bard, <a href="/A385800/b385800.txt">Table of n, a(n) for n = 1..10000</a>
%H A385800 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385800 Flatten[Table[Select[FromDigits /@ Tuples[{6, 8, 9}, n], PrimeQ], {n, 7}]]
%o A385800 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [6, 8, 9]];
%o A385800 (Python) print(list(islice(primes_with("689"), 41))) # uses function/imports in A385776
%o A385800 (PARI) primes_with(, 1, [6, 8, 9]) \\ uses function in A385776
%Y A385800 Subsequence of A030431, A106111.
%Y A385800 Supersequence of A020472.
%Y A385800 Cf. A000040, A385776.
%K A385800 nonn,base,easy
%O A385800 1,1
%A A385800 _Jason Bard_, Jul 14 2025