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 A386113 #6 Jul 17 2025 02:55:18 %S A386113 3,5,11,13,19,31,53,59,113,131,139,151,191,193,199,311,313,331,353, %T A386113 359,593,599,911,919,953,991,1151,1153,1193,1319,1399,1511,1531,1553, %U A386113 1559,1913,1931,1933,1951,1993,1999,3119,3191,3313,3319,3331,3359,3391,3511,3533 %N A386113 Primes having only {1, 3, 5, 9} as digits. %H A386113 Jason Bard, <a href="/A386113/b386113.txt">Table of n, a(n) for n = 1..10000</a> %H A386113 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386113 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 5, 9}, n], PrimeQ], {n, 7}]] %o A386113 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 5, 9]]; %o A386113 (Python) print(list(islice(primes_with("1359"), 41))) # uses function/imports in A385776 %o A386113 (PARI) primes_with(, 1, [1, 3, 5, 9]) \\ uses function in A385776 %Y A386113 Supersequence of A260224, A260227, A329761, A385781. %Y A386113 Cf. A000040, A385776. %K A386113 nonn,base,easy %O A386113 1,1 %A A386113 _Jason Bard_, Jul 17 2025