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 A386053 #6 Jul 15 2025 21:16:49 %S A386053 2,7,227,277,727,787,827,877,887,2027,2087,2207,2287,2707,2777,2887, %T A386053 7027,7207,7727,7877,8087,8287,8707,8807,8887,20287,20707,20807,20887, %U A386053 22027,22277,22727,22777,22787,22807,22877,27077,27277,27827,28027,28087,28277,28807 %N A386053 Primes having only {0, 2, 7, 8} as digits. %H A386053 Jason Bard, <a href="/A386053/b386053.txt">Table of n, a(n) for n = 1..10000</a> %H A386053 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386053 Select[FromDigits /@ Tuples[{0, 2, 7, 8}, n], PrimeQ] %o A386053 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 7, 8]]; %o A386053 (Python) print(list(islice(primes_with("0278"), 41))) # uses function/imports in A385776 %o A386053 (PARI) primes_with(, 1, [0, 2, 7, 8]) \\ uses function in A385776 %Y A386053 Supersequence of A261267, A385771, A385789. %Y A386053 Cf. A000040, A030432, A385776. %K A386053 nonn,base,easy %O A386053 1,1 %A A386053 _Jason Bard_, Jul 15 2025