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 A385795 #6 Jul 14 2025 00:26:18 %S A385795 7,47,487,787,877,887,4447,4787,4877,7477,7487,7877,8447,8747,8887, %T A385795 44777,44887,47777,48487,48787,48847,74747,74887,77447,77477,77747, %U A385795 78487,78787,78877,78887,84787,87877,87887,88747,444487,444877,444887,447877,474787,474847 %N A385795 Primes having only {4, 7, 8} as digits. %H A385795 Jason Bard, <a href="/A385795/b385795.txt">Table of n, a(n) for n = 1..10000</a> %H A385795 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A385795 Flatten[Table[Select[FromDigits /@ Tuples[{4, 7, 8}, n], PrimeQ], {n, 7}]] %o A385795 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [4, 7, 8]]; %o A385795 (Python) print(list(islice(primes_with("478"), 41))) # uses function/imports in A385776 %o A385795 (PARI) primes_with(, 1, [4, 7, 8]) \\ uses function in A385776 %Y A385795 Subsequence of A030432. %Y A385795 Supersequence of A020465, A020470. %Y A385795 Cf. A000040, A385776. %K A385795 nonn,base,easy %O A385795 1,1 %A A385795 _Jason Bard_, Jul 13 2025