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 A386093 #6 Jul 16 2025 23:38:56 %S A386093 2,7,11,17,41,47,71,127,211,227,241,271,277,421,727,1117,1171,1217, %T A386093 1277,1427,1447,1471,1721,1741,1747,1777,2111,2141,2221,2411,2417, %U A386093 2441,2447,2477,2711,2741,2777,4111,4127,4177,4211,4217,4241,4271,4421,4441,4447,4721 %N A386093 Primes having only {1, 2, 4, 7} as digits. %H A386093 Jason Bard, <a href="/A386093/b386093.txt">Table of n, a(n) for n = 1..10000</a> %H A386093 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386093 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 4, 7}, n], PrimeQ], {n, 7}]] %o A386093 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 4, 7]]; %o A386093 (Python) print(list(islice(primes_with("1247"), 41))) # uses function/imports in A385776 %o A386093 (PARI) primes_with(, 1, [1, 2, 4, 7]) \\ uses function in A385776 %Y A386093 Supersequence of A079651, A260267, A260889, A385784. %Y A386093 Cf. A000040, A385776. %K A386093 nonn,base,easy %O A386093 1,1 %A A386093 _Jason Bard_, Jul 16 2025