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 A385787 #7 Jul 13 2025 11:04:40 %S A385787 2,7,67,227,277,677,727,2267,2677,2767,2777,6277,7727,22277,22727, %T A385787 22777,26227,26267,26627,26777,27277,27767,62627,67777,72227,72277, %U A385787 72727,72767,76667,76777,77267,226267,226777,227267,227627,262627,266677,266767,267227 %N A385787 Primes having only {2, 6, 7} as digits. %H A385787 Jason Bard, <a href="/A385787/b385787.txt">Table of n, a(n) for n = 1..10000</a> %H A385787 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A385787 Flatten[Table[Select[FromDigits /@ Tuples[{2, 6, 7}, n], PrimeQ], {n, 7}]] %o A385787 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 6, 7]]; %o A385787 (Python) print(list(islice(primes_with("267"), 41))) # uses function/imports in A385776 %o A385787 (PARI) primes_with(, 1, [2, 6, 7]) \\ uses function in A385776 %Y A385787 Supersequence of A020459, A020469. %Y A385787 Cf. A000040, A030432, A385776. %K A385787 nonn,base,easy %O A385787 1,1 %A A385787 _Jason Bard_, Jul 13 2025