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 A386029 #6 Jul 15 2025 08:28:35 %S A386029 7,11,17,41,47,71,101,107,401,701,1117,1171,1447,1471,1741,1747,1777, %T A386029 4001,4007,4111,4177,4441,4447,7001,7177,7411,7417,7477,7717,7741, %U A386029 10007,10111,10141,10177,10477,10711,10771,11047,11071,11117,11171,11177,11411,11447 %N A386029 Primes having only {0, 1, 4, 7} as digits. %H A386029 Jason Bard, <a href="/A386029/b386029.txt">Table of n, a(n) for n = 1..10000</a> %H A386029 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386029 Select[FromDigits /@ Tuples[{0, 1, 4, 7}, n], PrimeQ] %o A386029 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 4, 7]]; %o A386029 (Python) print(list(islice(primes_with("0147"), 41))) # uses function/imports in A385776 %o A386029 (PARI) primes_with(, 1, [0, 1, 4, 7]) \\ uses function in A385776 %Y A386029 Supersequence of A079651, A199327, A260266. %Y A386029 Cf. A000040, A385776. %K A386029 nonn,base,easy %O A386029 1,1 %A A386029 _Jason Bard_, Jul 14 2025