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.
%I A386142 #6 Jul 17 2025 22:42:27 %S A386142 2,3,23,43,83,223,233,283,383,433,443,823,883,2243,2333,2383,2423, %T A386142 2833,2843,3323,3343,3433,3823,3833,4243,4283,4423,4483,8233,8243, %U A386142 8423,8443,22283,22343,22433,22483,23333,23833,24223,24443,28283,28433,28843,32233,32323 %N A386142 Primes having only {2, 3, 4, 8} as digits. %H A386142 Jason Bard, <a href="/A386142/b386142.txt">Table of n, a(n) for n = 1..10000</a> %H A386142 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386142 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 4, 8}, n], PrimeQ], {n, 7}]] %o A386142 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 4, 8]]; %o A386142 (Python) print(list(islice(primes_with("2348"), 41))) # uses function/imports in A385776 %o A386142 (PARI) primes_with(, 1, [2, 3, 4, 8]) \\ uses function in A385776 %Y A386142 Supersequence of A199342, A199348, A260127. %Y A386142 Cf. A000040, A030431, A385776. %K A386142 nonn,base,easy %O A386142 1,1 %A A386142 _Jason Bard_, Jul 17 2025