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.

A386146 Primes having only {2, 3, 5, 9} as digits.

This page as a plain text file.
%I A386146 #6 Jul 17 2025 22:42:43
%S A386146 2,3,5,23,29,53,59,223,229,233,239,293,353,359,523,593,599,929,953,
%T A386146 2239,2293,2333,2339,2393,2399,2539,2593,2939,2953,2999,3229,3253,
%U A386146 3259,3299,3323,3329,3359,3529,3533,3539,3559,3593,3923,3929,5233,5323,5333,5393,5399
%N A386146 Primes having only {2, 3, 5, 9} as digits.
%H A386146 Jason Bard, <a href="/A386146/b386146.txt">Table of n, a(n) for n = 1..10000</a>
%H A386146 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386146 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 5, 9}, n], PrimeQ], {n, 7}]]
%o A386146 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 5, 9]];
%o A386146 (Python) print(list(islice(primes_with("2359"), 41))) # uses function/imports in A385776
%o A386146 (PARI) primes_with(, 1, [2, 3, 5, 9]) \\ uses function in A385776
%Y A386146 Supersequence of A214703, A260128, A260227, A385786.
%Y A386146 Cf. A000040, A385776.
%K A386146 nonn,base,easy
%O A386146 1,1
%A A386146 _Jason Bard_, Jul 17 2025