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 A386191 #6 Jul 18 2025 21:40:46 %S A386191 5,7,47,59,79,97,449,457,479,499,547,557,577,599,757,797,947,977,997, %T A386191 4447,4457,4547,4549,4597,4759,4799,4957,4999,5449,5477,5479,5557, %U A386191 5749,5779,7457,7459,7477,7499,7547,7549,7559,7577,7757,7759,7949,9479,9497,9547 %N A386191 Primes having only {4, 5, 7, 9} as digits. %H A386191 Jason Bard, <a href="/A386191/b386191.txt">Table of n, a(n) for n = 1..10000</a> %H A386191 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386191 Flatten[Table[Select[FromDigits /@ Tuples[{4, 5, 7, 9}, n], PrimeQ], {n, 7}]] %o A386191 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 5, 7, 9]]; %o A386191 (Python) print(list(islice(primes_with("4579"), 41))) # uses function/imports in A385776 %o A386191 (PARI) primes_with(, 1, [4, 5, 7, 9]) \\ uses function in A385776 %Y A386191 Supersequence of A217039, A260831, A261183, A385793. %Y A386191 Cf. A000040, A385776. %K A386191 nonn,base,easy %O A386191 1,1 %A A386191 _Jason Bard_, Jul 18 2025