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.

A386067 Primes having only {0, 3, 7, 8} as digits.

This page as a plain text file.
%I A386067 #6 Jul 16 2025 05:29:26
%S A386067 3,7,37,73,83,307,337,373,383,733,773,787,877,883,887,3037,3083,3307,
%T A386067 3373,3733,3803,3833,3877,7307,7333,7703,7873,7877,7883,8087,8377,
%U A386067 8387,8707,8737,8783,8803,8807,8837,8887,30307,30703,30707,30773,30803,33037,33073
%N A386067 Primes having only {0, 3, 7, 8} as digits.
%H A386067 Jason Bard, <a href="/A386067/b386067.txt">Table of n, a(n) for n = 1..10000</a>
%H A386067 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386067 Select[FromDigits /@ Tuples[{0, 3, 7, 8}, n], PrimeQ]
%o A386067 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 7, 8]];
%o A386067 (Python) print(list(islice(primes_with("0378"), 41))) # uses function/imports in A385776
%o A386067 (PARI) primes_with(, 1, [0, 3, 7, 8]) \\ uses function in A385776
%Y A386067 Supersequence of A260378, A260381, A261267, A385771.
%Y A386067 Cf. A000040, A385776.
%K A386067 nonn,base,easy
%O A386067 1,1
%A A386067 _Jason Bard_, Jul 16 2025