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 A386150 #6 Jul 18 2025 05:20:05 %S A386150 2,3,7,23,37,73,83,223,227,233,277,283,337,373,383,727,733,773,787, %T A386150 823,827,877,883,887,2237,2273,2287,2333,2377,2383,2777,2833,2837, %U A386150 2887,3323,3373,3727,3733,3823,3833,3877,7237,7283,7333,7723,7727,7823,7873,7877 %N A386150 Primes having only {2, 3, 7, 8} as digits. %H A386150 Jason Bard, <a href="/A386150/b386150.txt">Table of n, a(n) for n = 1..10000</a> %H A386150 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386150 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 7, 8}, n], PrimeQ], {n, 7}]] %o A386150 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 7, 8]]; %o A386150 (Python) print(list(islice(primes_with("2378"), 41))) # uses function/imports in A385776 %o A386150 (PARI) primes_with(, 1, [2, 3, 7, 8]) \\ uses function in A385776 %Y A386150 Supersequence of A214704, A260127, A260381, A385789. %Y A386150 Cf. A000040, A385776. %K A386150 nonn,base,easy %O A386150 1,1 %A A386150 _Jason Bard_, Jul 18 2025