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 A386111 #6 Jul 17 2025 02:55:11 %S A386111 3,5,7,11,13,17,31,37,53,71,73,113,131,137,151,157,173,311,313,317, %T A386111 331,337,353,373,557,571,577,733,751,757,773,1117,1151,1153,1171,1373, %U A386111 1511,1531,1553,1571,1733,1753,1777,3137,3313,3331,3371,3373,3511,3517,3533 %N A386111 Primes having only {1, 3, 5, 7} as digits. %H A386111 Jason Bard, <a href="/A386111/b386111.txt">Table of n, a(n) for n = 1..10000</a> %H A386111 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386111 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 5, 7}, n], PrimeQ], {n, 7}]] %o A386111 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 5, 7]]; %o A386111 (Python) print(list(islice(primes_with("1357"), 41))) # uses function/imports in A385776 %o A386111 (PARI) primes_with(, 1, [1, 3, 5, 7]) \\ uses function in A385776 %Y A386111 Supersequence of A087363, A260224, A260379, A260828. %Y A386111 Cf. A000040, A385776. %K A386111 nonn,base,easy %O A386111 1,1 %A A386111 _Jason Bard_, Jul 17 2025