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 A386153 #6 Jul 18 2025 05:20:27 %S A386153 2,5,7,47,227,257,277,457,547,557,577,727,757,2447,2477,2557,2777, %T A386153 4447,4457,4547,5227,5477,5527,5557,7247,7457,7477,7547,7577,7727, %U A386153 7757,22247,22277,22447,22727,22777,24247,24527,24547,25247,25447,25457,25577,25747,27277 %N A386153 Primes having only {2, 4, 5, 7} as digits. %H A386153 Jason Bard, <a href="/A386153/b386153.txt">Table of n, a(n) for n = 1..10000</a> %H A386153 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386153 Flatten[Table[Select[FromDigits /@ Tuples[{2, 4, 5, 7}, n], PrimeQ], {n, 7}]] %o A386153 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 4, 5, 7]]; %o A386153 (Python) print(list(islice(primes_with("2457"), 41))) # uses function/imports in A385776 %o A386153 (PARI) primes_with(, 1, [2, 4, 5, 7]) \\ uses function in A385776 %Y A386153 Supersequence of A214705, A217039, A385784. %Y A386153 Cf. A000040, A030432, A385776. %K A386153 nonn,base,easy %O A386153 1,1 %A A386153 _Jason Bard_, Jul 18 2025