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 A386148 #6 Jul 18 2025 04:47:07 %S A386148 2,3,23,83,223,233,263,283,383,683,823,863,883,2333,2383,2633,2663, %T A386148 2683,2833,3323,3623,3823,3833,3863,6263,6323,6823,6833,6863,6883, %U A386148 8233,8263,8363,8623,8663,8863,22283,23333,23623,23633,23663,23833,26263,26633,26683 %N A386148 Primes having only {2, 3, 6, 8} as digits. %H A386148 Jason Bard, <a href="/A386148/b386148.txt">Table of n, a(n) for n = 1..10000</a> %H A386148 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386148 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 6, 8}, n], PrimeQ], {n, 7}]] %o A386148 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 6, 8]]; %o A386148 (Python) print(list(islice(primes_with("2368"), 41))) # uses function/imports in A385776 %o A386148 (PARI) primes_with(, 1, [2, 3, 6, 8]) \\ uses function in A385776 %Y A386148 Supersequence of A260126, A260127, A385791. %Y A386148 Cf. A000040, A030431, A385776. %K A386148 nonn,base,easy %O A386148 1,1 %A A386148 _Jason Bard_, Jul 18 2025