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 A386108 #6 Jul 17 2025 02:55:01 %S A386108 3,11,13,31,41,43,83,113,131,181,311,313,331,383,431,433,443,811,881, %T A386108 883,1181,1381,1433,1481,1483,1811,1831,3181,3313,3331,3343,3413,3433, %U A386108 3833,3881,4111,4133,4441,4481,4483,4813,4831,8111,8311,8431,8443,8831,11113 %N A386108 Primes having only {1, 3, 4, 8} as digits. %H A386108 Jason Bard, <a href="/A386108/b386108.txt">Table of n, a(n) for n = 1..10000</a> %H A386108 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386108 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 4, 8}, n], PrimeQ], {n, 7}]] %o A386108 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 4, 8]]; %o A386108 (Python) print(list(islice(primes_with("1348"), 41))) # uses function/imports in A385776 %o A386108 (PARI) primes_with(, 1, [1, 3, 4, 8]) \\ uses function in A385776 %Y A386108 Supersequence of A199341, A199348, A260270, A385778. %Y A386108 Cf. A000040, A385776. %K A386108 nonn,base,easy %O A386108 1,1 %A A386108 _Jason Bard_, Jul 17 2025