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 A386025 #6 Jul 14 2025 21:17:21 %S A386025 3,7,11,13,17,31,37,71,73,101,103,107,113,131,137,173,307,311,313,317, %T A386025 331,337,373,701,733,773,1013,1031,1033,1103,1117,1171,1301,1303,1307, %U A386025 1373,1733,1777,3001,3011,3037,3137,3301,3307,3313,3331,3371,3373,3701,3733 %N A386025 Primes having only {0, 1, 3, 7} as digits. %H A386025 Jason Bard, <a href="/A386025/b386025.txt">Table of n, a(n) for n = 1..10000</a> %H A386025 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386025 Select[FromDigits /@ Tuples[{0, 1, 3, 7}, n], PrimeQ] %o A386025 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 3, 7]]; %o A386025 (Python) print(list(islice(primes_with("0137"), 41))) # uses function/imports in A385776 %o A386025 (PARI) primes_with(, 1, [0, 1, 3, 7]) \\ uses function in A385776 %Y A386025 Supersequence of A199327, A260044, A260379. %Y A386025 Cf. A000040, A385776. %K A386025 nonn,base,easy %O A386025 1,1 %A A386025 _Jason Bard_, Jul 14 2025