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 A386085 #5 Jul 16 2025 21:45:12 %S A386085 2,3,11,13,23,31,41,43,113,131,211,223,233,241,311,313,331,421,431, %T A386085 433,443,1123,1213,1223,1231,1321,1423,1433,2111,2113,2131,2141,2143, %U A386085 2213,2221,2243,2311,2333,2341,2411,2423,2441,3121,3221,3313,3323,3331,3343,3413 %N A386085 Primes having only {1, 2, 3, 4} as digits. %H A386085 Jason Bard, <a href="/A386085/b386085.txt">Table of n, a(n) for n = 1..10000</a> %H A386085 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386085 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 3, 4}, n], PrimeQ], {n, 7}]] %o A386085 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 3, 4]]; %o A386085 (Python) print(list(islice(primes_with("1234"), 41))) # uses function/imports in A385776 %o A386085 (PARI) primes_with(, 1, [1, 2, 3, 4]) \\ uses function in A385776 %Y A386085 Subsequence of A036956, A036958. %Y A386085 Supersequence of A062350, A199341, A199342, A260267. %Y A386085 Cf. A000040, A385776. %K A386085 nonn,base,easy %O A386085 1,1 %A A386085 _Jason Bard_, Jul 16 2025