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.

A386184 Primes having only {3, 6, 7, 8} as digits.

This page as a plain text file.
%I A386184 #6 Jul 18 2025 18:20:27
%S A386184 3,7,37,67,73,83,337,367,373,383,673,677,683,733,773,787,863,877,883,
%T A386184 887,3373,3637,3673,3677,3733,3767,3833,3863,3877,6337,6367,6373,6637,
%U A386184 6673,6733,6737,6763,6833,6863,6883,7333,7673,7687,7867,7873,7877,7883,8363
%N A386184 Primes having only {3, 6, 7, 8} as digits.
%H A386184 Jason Bard, <a href="/A386184/b386184.txt">Table of n, a(n) for n = 1..10000</a>
%H A386184 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386184 Flatten[Table[Select[FromDigits /@ Tuples[{3, 6, 7, 8}, n], PrimeQ], {n, 7}]]
%o A386184 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 6, 7, 8]];
%o A386184 (Python) print(list(islice(primes_with("3678"), 41))) # uses function/imports in A385776
%o A386184 (PARI) primes_with(, 1, [3, 6, 7, 8]) \\ uses function in A385776
%Y A386184 Supersequence of A260380, A260381, A385791, A385799.
%Y A386184 Cf. A000040, A385776.
%K A386184 nonn,base,easy
%O A386184 1,1
%A A386184 _Jason Bard_, Jul 18 2025