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 A386051 #6 Jul 15 2025 21:16:41 %S A386051 2,7,67,227,277,607,677,727,2027,2207,2267,2677,2707,2767,2777,6007, %T A386051 6067,6277,6607,7027,7207,7607,7727,20627,20707,22027,22067,22277, %U A386051 22727,22777,26227,26267,26627,26777,27067,27077,27277,27767,60077,60607,60727,62207,62627 %N A386051 Primes having only {0, 2, 6, 7} as digits. %H A386051 Jason Bard, <a href="/A386051/b386051.txt">Table of n, a(n) for n = 1..10000</a> %H A386051 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386051 Select[FromDigits /@ Tuples[{0, 2, 6, 7}, n], PrimeQ] %o A386051 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 6, 7]]; %o A386051 (Python) print(list(islice(primes_with("0267"), 41))) # uses function/imports in A385776 %o A386051 (PARI) primes_with(, 1, [0, 2, 6, 7]) \\ uses function in A385776 %Y A386051 Supersequence of A261267, A385770, A385787. %Y A386051 Cf. A000040, A030432, A385776. %K A386051 nonn,base,easy %O A386051 1,1 %A A386051 _Jason Bard_, Jul 15 2025