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.

A386106 Primes having only {1, 3, 4, 6} as digits.

This page as a plain text file.
%I A386106 #6 Jul 17 2025 00:50:22
%S A386106 3,11,13,31,41,43,61,113,131,163,311,313,331,431,433,443,461,463,613,
%T A386106 631,641,643,661,1163,1361,1433,1613,1663,3163,3313,3331,3343,3361,
%U A386106 3413,3433,3461,3463,3613,3631,3643,4111,4133,4363,4441,4463,4643,4663,6113,6131
%N A386106 Primes having only {1, 3, 4, 6} as digits.
%H A386106 Jason Bard, <a href="/A386106/b386106.txt">Table of n, a(n) for n = 1..10000</a>
%H A386106 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386106 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 4, 6}, n], PrimeQ], {n, 7}]]
%o A386106 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 4, 6]];
%o A386106 (Python) print(list(islice(primes_with("1346"), 41))) # uses function/imports in A385776
%o A386106 (PARI) primes_with(, 1, [1, 3, 4, 6]) \\ uses function in A385776
%Y A386106 Supersequence of A199341, A199346, A260269, A385777.
%Y A386106 Cf. A000040, A385776.
%K A386106 nonn,base,easy
%O A386106 1,1
%A A386106 _Jason Bard_, Jul 17 2025