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 A386109 #6 Jul 17 2025 02:55:04 %S A386109 3,11,13,19,31,41,43,113,131,139,149,191,193,199,311,313,331,349,419, %T A386109 431,433,439,443,449,491,499,911,919,941,991,1193,1319,1399,1433,1439, %U A386109 1493,1499,1913,1931,1933,1949,1993,1999,3119,3191,3313,3319,3331,3343,3391 %N A386109 Primes having only {1, 3, 4, 9} as digits. %H A386109 Jason Bard, <a href="/A386109/b386109.txt">Table of n, a(n) for n = 1..10000</a> %H A386109 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386109 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 4, 9}, n], PrimeQ], {n, 7}]] %o A386109 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 4, 9]]; %o A386109 (Python) print(list(islice(primes_with("1349"), 41))) # uses function/imports in A385776 %o A386109 (PARI) primes_with(, 1, [1, 3, 4, 9]) \\ uses function in A385776 %Y A386109 Supersequence of A199341, A199349, A260271, A329761. %Y A386109 Cf. A000040, A385776. %K A386109 nonn,base,easy %O A386109 1,1 %A A386109 _Jason Bard_, Jul 17 2025