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 A386187 #6 Jul 18 2025 21:40:31 %S A386187 3,7,37,73,79,83,89,97,337,373,379,383,389,397,733,739,773,787,797, %T A386187 839,877,883,887,937,977,983,997,3373,3389,3733,3739,3779,3793,3797, %U A386187 3833,3877,3889,3989,7333,7393,7789,7793,7873,7877,7879,7883,7933,7937,7993,8377 %N A386187 Primes having only {3, 7, 8, 9} as digits. %H A386187 Jason Bard, <a href="/A386187/b386187.txt">Table of n, a(n) for n = 1..10000</a> %H A386187 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386187 Flatten[Table[Select[FromDigits /@ Tuples[{3, 7, 8, 9}, n], PrimeQ], {n, 7}]] %o A386187 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 7, 8, 9]]; %o A386187 (Python) print(list(islice(primes_with("3789"), 41))) # uses function/imports in A385776 %o A386187 (PARI) primes_with(, 1, [3, 7, 8, 9]) \\ uses function in A385776 %Y A386187 Supersequence of A106110, A260381, A260382, A385792. %Y A386187 Cf. A000040, A385776. %K A386187 nonn,base,easy %O A386187 1,1 %A A386187 _Jason Bard_, Jul 18 2025