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.

A386110 Primes having only {1, 3, 5, 6} as digits.

This page as a plain text file.
%I A386110 #6 Jul 17 2025 02:55:08
%S A386110 3,5,11,13,31,53,61,113,131,151,163,311,313,331,353,563,613,631,653,
%T A386110 661,1151,1153,1163,1361,1511,1531,1553,1613,1663,3163,3313,3331,3361,
%U A386110 3511,3533,3613,3631,5113,5153,5333,5351,5531,5563,5651,5653,6113,6131,6133,6151
%N A386110 Primes having only {1, 3, 5, 6} as digits.
%H A386110 Jason Bard, <a href="/A386110/b386110.txt">Table of n, a(n) for n = 1..10000</a>
%H A386110 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386110 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 5, 6}, n], PrimeQ], {n, 7}]]
%o A386110 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 5, 6]];
%o A386110 (Python) print(list(islice(primes_with("1356"), 41))) # uses function/imports in A385776
%o A386110 (PARI) primes_with(, 1, [1, 3, 5, 6]) \\ uses function in A385776
%Y A386110 Supersequence of A260224, A260225, A385777, A385779.
%Y A386110 Cf. A000040, A385776.
%K A386110 nonn,base,easy
%O A386110 1,1
%A A386110 _Jason Bard_, Jul 17 2025