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 A386170 #6 Jul 18 2025 16:50:10 %S A386170 3,5,7,37,43,47,53,73,337,347,353,373,433,443,457,547,557,577,733,743, %T A386170 757,773,3343,3347,3373,3433,3457,3533,3547,3557,3733,4337,4357,4373, %U A386170 4447,4457,4547,4733,5333,5347,5437,5443,5477,5557,5573,5737,5743,7333,7433 %N A386170 Primes having only {3, 4, 5, 7} as digits. %H A386170 Jason Bard, <a href="/A386170/b386170.txt">Table of n, a(n) for n = 1..10000</a> %H A386170 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386170 Flatten[Table[Select[FromDigits /@ Tuples[{3, 4, 5, 7}, n], PrimeQ], {n, 7}]] %o A386170 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 4, 5, 7]]; %o A386170 (Python) print(list(islice(primes_with("3457"), 41))) # uses function/imports in A385776 %o A386170 (PARI) primes_with(, 1, [3, 4, 5, 7]) \\ uses function in A385776 %Y A386170 Supersequence of A087363, A199345, A199347, A217039. %Y A386170 Cf. A000040, A385776. %K A386170 nonn,base,easy %O A386170 1,1 %A A386170 _Jason Bard_, Jul 18 2025