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.

A386147 Primes having only {2, 3, 6, 7} as digits.

This page as a plain text file.
%I A386147 #6 Jul 18 2025 05:19:31
%S A386147 2,3,7,23,37,67,73,223,227,233,263,277,337,367,373,673,677,727,733,
%T A386147 773,2237,2267,2273,2333,2377,2633,2663,2677,2767,2777,3323,3373,3623,
%U A386147 3637,3673,3677,3727,3733,3767,6263,6277,6323,6337,6367,6373,6637,6673,6733,6737
%N A386147 Primes having only {2, 3, 6, 7} as digits.
%H A386147 Jason Bard, <a href="/A386147/b386147.txt">Table of n, a(n) for n = 1..10000</a>
%H A386147 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386147 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 6, 7}, n], PrimeQ], {n, 7}]]
%o A386147 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 6, 7]];
%o A386147 (Python) print(list(islice(primes_with("2367"), 41))) # uses function/imports in A385776
%o A386147 (PARI) primes_with(, 1, [2, 3, 6, 7]) \\ uses function in A385776
%Y A386147 Supersequence of A214704, A260126, A260380, A385787.
%Y A386147 Cf. A000040, A385776.
%K A386147 nonn,base,easy
%O A386147 1,1
%A A386147 _Jason Bard_, Jul 18 2025