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.

A386082 Primes having only {0, 6, 7, 8} as digits.

This page as a plain text file.
%I A386082 #6 Jul 16 2025 21:44:43
%S A386082 7,67,607,677,787,877,887,6007,6067,6607,7607,7687,7867,7877,8087,
%T A386082 8677,8707,8807,8867,8887,60077,60607,60887,66067,66877,67607,67777,
%U A386082 67807,67867,68087,68687,68767,68777,70067,70607,70667,70687,70867,70877,76607,76667,76777
%N A386082 Primes having only {0, 6, 7, 8} as digits.
%H A386082 Jason Bard, <a href="/A386082/b386082.txt">Table of n, a(n) for n = 1..10000</a>
%H A386082 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386082 Select[FromDigits /@ Tuples[{0, 6, 7, 8}, n], PrimeQ]
%o A386082 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 6, 7, 8]];
%o A386082 (Python) print(list(islice(primes_with("0678"), 41))) # uses function/imports in A385776
%o A386082 (PARI) primes_with(, 1, [0, 6, 7, 8]) \\ uses function in A385776
%Y A386082 Subsequence of A030432.
%Y A386082 Supersequence of A385770, A385771, A385799.
%Y A386082 Cf. A000040, A385776.
%K A386082 nonn,base,easy
%O A386082 1,1
%A A386082 _Jason Bard_, Jul 16 2025