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 A386024 #7 Jul 14 2025 21:17:26 %S A386024 3,5,11,13,31,53,101,103,113,131,151,311,313,331,353,503,1013,1031, %T A386024 1033,1051,1103,1151,1153,1301,1303,1511,1531,1553,3001,3011,3301, %U A386024 3313,3331,3511,3533,5003,5011,5051,5101,5113,5153,5303,5333,5351,5501,5503,5531,10103 %N A386024 Primes having only {0, 1, 3, 5} as digits. %H A386024 Jason Bard, <a href="/A386024/b386024.txt">Table of n, a(n) for n = 1..10000</a> %H A386024 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386024 Select[FromDigits /@ Tuples[{0, 1, 3, 5}, n], PrimeQ] %o A386024 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 3, 5]]; %o A386024 (Python) print(list(islice(primes_with("0135"), 41))) # uses function/imports in A385776 %o A386024 (PARI) primes_with(, 1, [0, 1, 3, 5]) \\ uses function in A385776 %Y A386024 Subsequence of A036958. %Y A386024 Supersequence of A199325, A260044, A260224. %Y A386024 Cf. A000040, A385776. %K A386024 nonn,base,easy %O A386024 1,1 %A A386024 _Jason Bard_, Jul 14 2025