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 A386141 #6 Jul 17 2025 22:42:22 %S A386141 2,3,7,23,37,43,47,73,223,227,233,277,337,347,373,433,443,727,733,743, %T A386141 773,2237,2243,2273,2333,2347,2377,2423,2437,2447,2473,2477,2777,3323, %U A386141 3343,3347,3373,3433,3727,3733,4243,4273,4327,4337,4373,4423,4447,4723,4733 %N A386141 Primes having only {2, 3, 4, 7} as digits. %H A386141 Jason Bard, <a href="/A386141/b386141.txt">Table of n, a(n) for n = 1..10000</a> %H A386141 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386141 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 4, 7}, n], PrimeQ], {n, 7}]] %o A386141 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 4, 7]]; %o A386141 (Python) print(list(islice(primes_with("2347"), 41))) # uses function/imports in A385776 %o A386141 (PARI) primes_with(, 1, [2, 3, 4, 7]) \\ uses function in A385776 %Y A386141 Supersequence of A199342, A199347, A214704, A385784. %Y A386141 Cf. A000040, A385776. %K A386141 nonn,base,easy %O A386141 1,1 %A A386141 _Jason Bard_, Jul 17 2025