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.

A386151 Primes having only {2, 3, 7, 9} as digits.

This page as a plain text file.
%I A386151 #6 Jul 18 2025 05:20:12
%S A386151 2,3,7,23,29,37,73,79,97,223,227,229,233,239,277,293,337,373,379,397,
%T A386151 727,733,739,773,797,929,937,977,997,2237,2239,2273,2293,2297,2333,
%U A386151 2339,2377,2393,2399,2729,2777,2797,2927,2939,2999,3229,3299,3323,3329,3373,3727
%N A386151 Primes having only {2, 3, 7, 9} as digits.
%H A386151 Jason Bard, <a href="/A386151/b386151.txt">Table of n, a(n) for n = 1..10000</a>
%H A386151 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386151 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 7, 9}, n], PrimeQ], {n, 7}]]
%o A386151 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 7, 9]];
%o A386151 (Python) print(list(islice(primes_with("2379"), 41))) # uses function/imports in A385776
%o A386151 (PARI) primes_with(, 1, [2, 3, 7, 9]) \\ uses function in A385776
%Y A386151 Supersequence of A214704, A260128, A260382, A261182.
%Y A386151 Cf. A000040, A385776.
%K A386151 nonn,base,easy
%O A386151 1,1
%A A386151 _Jason Bard_, Jul 18 2025