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 A386066 #6 Jul 15 2025 23:58:38 %S A386066 3,83,383,683,863,883,3083,3803,3833,3863,6803,6833,6863,6883,8363, %T A386066 8663,8803,8863,30803,33083,33863,36083,36383,36683,36833,38083,38303, %U A386066 38333,38603,38803,38833,60083,60383,63803,63863,66083,66383,66683,66863,66883,68633 %N A386066 Primes having only {0, 3, 6, 8} as digits. %H A386066 Jason Bard, <a href="/A386066/b386066.txt">Table of n, a(n) for n = 1..10000</a> %H A386066 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386066 Select[FromDigits /@ Tuples[{0, 3, 6, 8}, n], PrimeQ] %o A386066 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 6, 8]]; %o A386066 (Python) print(list(islice(primes_with("0368"), 41))) # uses function/imports in A385776 %o A386066 (PARI) primes_with(, 1, [0, 3, 6, 8]) \\ uses function in A385776 %Y A386066 Subsequence of A030431. %Y A386066 Supersequence of A261434, A385791. %Y A386066 Cf. A000040, A385776. %K A386066 nonn,base,easy %O A386066 1,1 %A A386066 _Jason Bard_, Jul 15 2025