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 A386163 #6 Jul 18 2025 16:03:27 %S A386163 2,5,7,29,59,79,97,227,229,257,277,557,577,599,727,757,797,929,977, %T A386163 997,2297,2557,2579,2729,2777,2797,2927,2957,2999,5227,5279,5297,5527, %U A386163 5557,5779,5927,7229,7297,7529,7559,7577,7727,7757,7759,7927,9227,9257,9277,9929 %N A386163 Primes having only {2, 5, 7, 9} as digits. %H A386163 Jason Bard, <a href="/A386163/b386163.txt">Table of n, a(n) for n = 1..10000</a> %H A386163 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386163 Flatten[Table[Select[FromDigits /@ Tuples[{2, 5, 7, 9}, n], PrimeQ], {n, 7}]] %o A386163 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 5, 7, 9]]; %o A386163 (Python) print(list(islice(primes_with("2579"), 41))) # uses function/imports in A385776 %o A386163 (PARI) primes_with(, 1, [2, 5, 7, 9]) \\ uses function in A385776 %Y A386163 Supersequence of A214705, A260831, A261182, A385786. %Y A386163 Cf. A000040, A385776. %K A386163 nonn,base,easy %O A386163 1,1 %A A386163 _Jason Bard_, Jul 18 2025