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 A386087 #6 Jul 16 2025 23:39:20 %S A386087 2,3,11,13,23,31,61,113,131,163,211,223,233,263,311,313,331,613,631, %T A386087 661,1123,1163,1213,1223,1231,1321,1361,1613,1621,1663,2111,2113,2131, %U A386087 2161,2213,2221,2311,2333,2621,2633,2663,3121,3163,3221,3313,3323,3331,3361,3613 %N A386087 Primes having only {1, 2, 3, 6} as digits. %H A386087 Jason Bard, <a href="/A386087/b386087.txt">Table of n, a(n) for n = 1..10000</a> %H A386087 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386087 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 3, 6}, n], PrimeQ], {n, 7}]] %o A386087 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 3, 6]]; %o A386087 (Python) print(list(islice(primes_with("1236"), 41))) # uses function/imports in A385776 %o A386087 (PARI) primes_with(, 1, [1, 2, 3, 6]) \\ uses function in A385776 %Y A386087 Supersequence of A062350, A260126, A385774, A385777. %Y A386087 Cf. A000040, A385776. %K A386087 nonn,base,easy %O A386087 1,1 %A A386087 _Jason Bard_, Jul 16 2025