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 A386096 #6 Jul 16 2025 23:38:44 %S A386096 2,5,7,11,17,71,127,151,157,211,227,251,257,271,277,521,557,571,577, %T A386096 727,751,757,1117,1151,1171,1217,1277,1511,1571,1721,1777,2111,2221, %U A386096 2251,2521,2551,2557,2711,2777,5171,5227,5521,5527,5557,5711,5717,7121,7127,7151 %N A386096 Primes having only {1, 2, 5, 7} as digits. %H A386096 Jason Bard, <a href="/A386096/b386096.txt">Table of n, a(n) for n = 1..10000</a> %H A386096 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386096 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 5, 7}, n], PrimeQ], {n, 7}]] %o A386096 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 5, 7]]; %o A386096 (Python) print(list(islice(primes_with("1257"), 41))) # uses function/imports in A385776 %o A386096 (PARI) primes_with(, 1, [1, 2, 5, 7]) \\ uses function in A385776 %Y A386096 Supersequence of A214705, A260828, A260889, A385773. %Y A386096 Cf. A000040, A385776. %K A386096 nonn,base,easy %O A386096 1,1 %A A386096 _Jason Bard_, Jul 16 2025