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 A386195 #7 Jul 18 2025 21:41:00 %S A386195 7,47,79,89,97,449,479,487,499,787,797,877,887,947,977,997,4447,4787, %T A386195 4789,4799,4877,4889,4987,4999,7477,7487,7489,7499,7789,7877,7879, %U A386195 7949,8447,8747,8779,8849,8887,8999,9479,9497,9749,9787,9887,9949,44449,44497,44777 %N A386195 Primes having only {4, 7, 8, 9} as digits. %H A386195 Jason Bard, <a href="/A386195/b386195.txt">Table of n, a(n) for n = 1..10000</a> %H A386195 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386195 Flatten[Table[Select[FromDigits /@ Tuples[{4, 7, 8, 9}, n], PrimeQ], {n, 7}]] %o A386195 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 7, 8, 9]]; %o A386195 (Python) print(list(islice(primes_with("4789"), 41))) # uses function/imports in A385776 %o A386195 (PARI) primes_with(, 1, [4, 7, 8, 9]) \\ uses function in A385776 %Y A386195 Supersequence of A106110, A261183, A385795, A385796. %Y A386195 Cf. A000040, A051416, A385776. %K A386195 nonn,base,easy %O A386195 1,1 %A A386195 _Jason Bard_, Jul 18 2025