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 A386086 #6 Jul 16 2025 21:44:56 %S A386086 2,3,5,11,13,23,31,53,113,131,151,211,223,233,251,311,313,331,353,521, %T A386086 523,1123,1151,1153,1213,1223,1231,1321,1511,1523,1531,1553,2111,2113, %U A386086 2131,2153,2213,2221,2251,2311,2333,2351,2521,2531,2551,3121,3221,3251,3253 %N A386086 Primes having only {1, 2, 3, 5} as digits. %H A386086 Jason Bard, <a href="/A386086/b386086.txt">Table of n, a(n) for n = 1..10000</a> %H A386086 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386086 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 3, 5}, n], PrimeQ], {n, 7}]] %o A386086 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 3, 5]]; %o A386086 (Python) print(list(islice(primes_with("1235"), 41))) # uses function/imports in A385776 %o A386086 (PARI) primes_with(, 1, [1, 2, 3, 5]) \\ uses function in A385776 %Y A386086 Subsequence of A190222. %Y A386086 Supersequence of A062350, A214703, A385773. %Y A386086 Cf. A000040, A385776. %K A386086 nonn,base,easy %O A386086 1,1 %A A386086 _Jason Bard_, Jul 16 2025