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 A386088 #6 Jul 16 2025 23:39:15 %S A386088 2,3,7,11,13,17,23,31,37,71,73,113,127,131,137,173,211,223,227,233, %T A386088 271,277,311,313,317,331,337,373,727,733,773,1117,1123,1171,1213,1217, %U A386088 1223,1231,1237,1277,1321,1327,1373,1721,1723,1733,1777,2111,2113,2131,2137 %N A386088 Primes having only {1, 2, 3, 7} as digits. %H A386088 Jason Bard, <a href="/A386088/b386088.txt">Table of n, a(n) for n = 1..10000</a> %H A386088 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386088 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 3, 7}, n], PrimeQ], {n, 7}]] %o A386088 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 3, 7]]; %o A386088 (Python) print(list(islice(primes_with("1237"), 41))) # uses function/imports in A385776 %o A386088 (PARI) primes_with(, 1, [1, 2, 3, 7]) \\ uses function in A385776 %Y A386088 Supersequence of A062350, A214704, A260379, A260889. %Y A386088 Cf. A000040, A385776. %K A386088 nonn,base,easy %O A386088 1,1 %A A386088 _Jason Bard_, Jul 16 2025