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 A386178 #6 Jul 18 2025 18:20:48 %S A386178 3,5,7,37,53,67,73,337,353,367,373,557,563,577,653,673,677,733,757, %T A386178 773,3373,3533,3557,3637,3673,3677,3733,3767,5333,5557,5563,5573,5653, %U A386178 5657,5737,6337,6353,6367,6373,6553,6563,6577,6637,6653,6673,6733,6737,6763,7333 %N A386178 Primes having only {3, 5, 6, 7} as digits. %H A386178 Jason Bard, <a href="/A386178/b386178.txt">Table of n, a(n) for n = 1..10000</a> %H A386178 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386178 Flatten[Table[Select[FromDigits /@ Tuples[{3, 5, 6, 7}, n], PrimeQ], {n, 7}]] %o A386178 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 5, 6, 7]]; %o A386178 (Python) print(list(islice(primes_with("3567"), 41))) # uses function/imports in A385776 %o A386178 (PARI) primes_with(, 1, [3, 5, 6, 7]) \\ uses function in A385776 %Y A386178 Supersequence of A087363, A260225, A260380, A260829. %Y A386178 Cf. A000040, A385776. %K A386178 nonn,base,easy %O A386178 1,1 %A A386178 _Jason Bard_, Jul 18 2025