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.

A386145 Primes having only {2, 3, 5, 8} as digits.

This page as a plain text file.
%I A386145 #6 Jul 17 2025 22:42:39
%S A386145 2,3,5,23,53,83,223,233,283,353,383,523,823,853,883,2333,2383,2833,
%T A386145 3253,3323,3533,3583,3823,3833,3853,5233,5323,5333,8233,8353,22283,
%U A386145 22853,23333,23833,25253,25523,25583,28283,32233,32323,32353,32533,32833,33223,33353
%N A386145 Primes having only {2, 3, 5, 8} as digits.
%H A386145 Jason Bard, <a href="/A386145/b386145.txt">Table of n, a(n) for n = 1..10000</a>
%H A386145 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386145 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 5, 8}, n], PrimeQ], {n, 7}]]
%o A386145 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 5, 8]];
%o A386145 (Python) print(list(islice(primes_with("2358"), 41))) # uses function/imports in A385776
%o A386145 (PARI) primes_with(, 1, [2, 3, 5, 8]) \\ uses function in A385776
%Y A386145 Supersequence of A214703, A260127, A260226.
%Y A386145 Cf. A000040, A030431, A385776.
%K A386145 nonn,base,easy
%O A386145 1,1
%A A386145 _Jason Bard_, Jul 17 2025