cp's OEIS Frontend

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.

A386105 Primes having only {1, 3, 4, 5} as digits.

This page as a plain text file.
%I A386105 #6 Jul 17 2025 00:50:18
%S A386105 3,5,11,13,31,41,43,53,113,131,151,311,313,331,353,431,433,443,541,
%T A386105 1151,1153,1433,1451,1453,1511,1531,1543,1553,3313,3331,3343,3413,
%U A386105 3433,3511,3533,3541,4111,4133,4153,4441,4451,4513,5113,5153,5333,5351,5413,5431,5441
%N A386105 Primes having only {1, 3, 4, 5} as digits.
%H A386105 Jason Bard, <a href="/A386105/b386105.txt">Table of n, a(n) for n = 1..10000</a>
%H A386105 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386105 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 4, 5}, n], PrimeQ], {n, 7}]]
%o A386105 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 4, 5]];
%o A386105 (Python) print(list(islice(primes_with("1345"), 41))) # uses function/imports in A385776
%o A386105 (PARI) primes_with(, 1, [1, 3, 4, 5]) \\ uses function in A385776
%Y A386105 Supersequence of A199341, A199345, A260224, A260268.
%Y A386105 Cf. A000040, A385776.
%K A386105 nonn,base,easy
%O A386105 1,1
%A A386105 _Jason Bard_, Jul 17 2025