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 A386054 #6 Jul 15 2025 21:16:53 %S A386054 2,7,29,79,97,227,229,277,709,727,797,907,929,977,997,2027,2029,2099, %T A386054 2207,2297,2707,2729,2777,2797,2909,2927,2999,7027,7079,7207,7229, %U A386054 7297,7727,7907,7927,9007,9029,9209,9227,9277,9907,9929,20029,20297,20707,20929,22027 %N A386054 Primes having only {0, 2, 7, 9} as digits. %H A386054 Jason Bard, <a href="/A386054/b386054.txt">Table of n, a(n) for n = 1..10000</a> %H A386054 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386054 Select[FromDigits /@ Tuples[{0, 2, 7, 9}, n], PrimeQ] %o A386054 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 7, 9]]; %o A386054 (Python) print(list(islice(primes_with("0279"), 41))) # uses function/imports in A385776 %o A386054 (PARI) primes_with(, 1, [0, 2, 7, 9]) \\ uses function in A385776 %Y A386054 Supersequence of A261181, A261182, A261267, A261268. %Y A386054 Cf. A000040, A385776. %K A386054 nonn,base,easy %O A386054 1,1 %A A386054 _Jason Bard_, Jul 15 2025