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 A386030 #6 Jul 15 2025 08:28:31 %S A386030 11,41,101,181,401,811,881,1181,1481,1801,1811,4001,4111,4441,4481, %T A386030 4801,8011,8081,8101,8111,10111,10141,10181,11411,11801,14011,14081, %U A386030 14401,14411,18041,18181,18401,18481,40111,40801,40841,41011,41081,41141,41411,41801,44041 %N A386030 Primes having only {0, 1, 4, 8} as digits. %H A386030 Jason Bard, <a href="/A386030/b386030.txt">Table of n, a(n) for n = 1..10000</a> %H A386030 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386030 Select[FromDigits /@ Tuples[{0, 1, 4, 8}, n], PrimeQ] %o A386030 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 4, 8]]; %o A386030 (Python) print(list(islice(primes_with("0148"), 41))) # uses function/imports in A385776 %o A386030 (PARI) primes_with(, 1, [0, 1, 4, 8]) \\ uses function in A385776 %Y A386030 Subsequence of A030430. %Y A386030 Supersequence of A061247, A260266, A260270. %Y A386030 Cf. A000040, A385776. %K A386030 nonn,base,easy %O A386030 1,1 %A A386030 _Jason Bard_, Jul 14 2025