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.

A386169 Primes having only {3, 4, 5, 6} as digits.

This page as a plain text file.
%I A386169 #6 Jul 18 2025 16:50:14
%S A386169 3,5,43,53,353,433,443,463,563,643,653,3343,3433,3463,3533,3643,4363,
%T A386169 4463,4643,4663,5333,5443,5563,5653,6343,6353,6553,6563,6653,33343,
%U A386169 33353,33533,33563,34543,35353,35363,35533,35543,36343,36353,36433,36563,36643,36653
%N A386169 Primes having only {3, 4, 5, 6} as digits.
%H A386169 Jason Bard, <a href="/A386169/b386169.txt">Table of n, a(n) for n = 1..10000</a>
%H A386169 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386169 Flatten[Table[Select[FromDigits /@ Tuples[{3, 4, 5, 6}, n], PrimeQ], {n, 7}]]
%o A386169 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 4, 5, 6]];
%o A386169 (Python) print(list(islice(primes_with("3456"), 41))) # uses function/imports in A385776
%o A386169 (PARI) primes_with(, 1, [3, 4, 5, 6]) \\ uses function in A385776
%Y A386169 Supersequence of A199345, A199346, A260225.
%Y A386169 Cf. A000040, A030431, A385776.
%K A386169 nonn,base,easy
%O A386169 1,1
%A A386169 _Jason Bard_, Jul 18 2025