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 A385770 #13 Jul 12 2025 21:20:46 %S A385770 7,67,607,677,6007,6067,6607,7607,60077,60607,66067,67607,67777,70067, %T A385770 70607,70667,76607,76667,76777,606077,606607,607007,607067,607667, %U A385770 660067,660607,666067,666607,666667,666707,670777,676007,677077,677767,700067 %N A385770 Primes having only {0, 6, 7} as digits. %H A385770 Jason Bard, <a href="/A385770/b385770.txt">Table of n, a(n) for n = 1..10000</a> %H A385770 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %e A385770 6007 is a term because it is prime and has only {0,6,7} as digits. %t A385770 Select[FromDigits/@Tuples[{0,6,7},5],PrimeQ] %o A385770 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 6, 7]]; %o A385770 (Python) print(list(islice(primes_with("067"), 41))) # uses function/imports in A385776 %o A385770 (PARI) primes_with(, 1, [0, 6, 7]) \\ uses function in A385776 %Y A385770 Subsequence of A030432. %Y A385770 Cf. A000040, A020469, A385776. %K A385770 nonn,base,easy %O A385770 1,1 %A A385770 _Jason Bard_, Jul 09 2025