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 A386033 #6 Jul 15 2025 08:28:19 %S A386033 5,11,101,151,181,811,881,1051,1151,1181,1511,1801,1811,5011,5051, %T A386033 5081,5101,5501,5581,5801,5851,5881,8011,8081,8101,8111,8501,8581, %U A386033 10111,10151,10181,10501,11551,11801,15101,15511,15551,15581,15881,18181,50051,50101,50111 %N A386033 Primes having only {0, 1, 5, 8} as digits. %H A386033 Jason Bard, <a href="/A386033/b386033.txt">Table of n, a(n) for n = 1..10000</a> %H A386033 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386033 Select[FromDigits /@ Tuples[{0, 1, 5, 8}, n], PrimeQ] %o A386033 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 5, 8]]; %o A386033 (Python) print(list(islice(primes_with("0158"), 41))) # uses function/imports in A385776 %o A386033 (PARI) primes_with(, 1, [0, 1, 5, 8]) \\ uses function in A385776 %Y A386033 Supersequence of A061247, A199325, A385780. %Y A386033 Cf. A000040, A030430, A385776. %K A386033 nonn,base,easy %O A386033 1,1 %A A386033 _Jason Bard_, Jul 14 2025