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 A386152 #6 Jul 18 2025 05:20:19 %S A386152 2,3,23,29,83,89,223,229,233,239,283,293,383,389,823,829,839,883,929, %T A386152 983,2239,2293,2333,2339,2383,2389,2393,2399,2833,2939,2999,3229,3299, %U A386152 3323,3329,3389,3823,3833,3889,3923,3929,3989,8233,8293,8329,8389,8839,8893 %N A386152 Primes having only {2, 3, 8, 9} as digits. %H A386152 Jason Bard, <a href="/A386152/b386152.txt">Table of n, a(n) for n = 1..10000</a> %H A386152 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386152 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 8, 9}, n], PrimeQ], {n, 7}]] %o A386152 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 8, 9]]; %o A386152 (Python) print(list(islice(primes_with("2389"), 41))) # uses function/imports in A385776 %o A386152 (PARI) primes_with(, 1, [2, 3, 8, 9]) \\ uses function in A385776 %Y A386152 Supersequence of A260127, A260128, A385790, A385792. %Y A386152 Cf. A000040, A385776. %K A386152 nonn,base,easy %O A386152 1,1 %A A386152 _Jason Bard_, Jul 18 2025