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 A386084 #6 Jul 16 2025 21:44:51 %S A386084 7,79,89,97,709,787,797,809,877,887,907,977,997,7079,7789,7877,7879, %T A386084 7907,8009,8087,8089,8707,8779,8807,8887,8999,9007,9787,9887,9907, %U A386084 70009,70079,70099,70709,70877,70879,70979,70997,70999,77797,77899,77977,77999,78007 %N A386084 Primes having only {0, 7, 8, 9} as digits. %H A386084 Jason Bard, <a href="/A386084/b386084.txt">Table of n, a(n) for n = 1..10000</a> %H A386084 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386084 Select[FromDigits /@ Tuples[{0, 7, 8, 9}, n], PrimeQ] %o A386084 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 7, 8, 9]]; %o A386084 (Python) print(list(islice(primes_with("0789"), 41))) # uses function/imports in A385776 %o A386084 (PARI) primes_with(, 1, [0, 7, 8, 9]) \\ uses function in A385776 %Y A386084 Supersequence of A106110, A261181, A385771, A385772. %Y A386084 Cf. A000040, A385776. %K A386084 nonn,base,easy %O A386084 1,1 %A A386084 _Jason Bard_, Jul 16 2025