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.

A386140 Primes having only {2, 3, 4, 6} as digits.

This page as a plain text file.
%I A386140 #6 Jul 17 2025 22:42:19
%S A386140 2,3,23,43,223,233,263,433,443,463,643,2243,2333,2423,2633,2663,3323,
%T A386140 3343,3433,3463,3623,3643,4243,4363,4423,4463,4643,4663,6263,6323,
%U A386140 6343,22343,22433,22643,23333,23623,23633,23663,24223,24443,24623,26263,26423,26633
%N A386140 Primes having only {2, 3, 4, 6} as digits.
%H A386140 Jason Bard, <a href="/A386140/b386140.txt">Table of n, a(n) for n = 1..10000</a>
%H A386140 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386140 Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 4, 6}, n], PrimeQ], {n, 7}]]
%o A386140 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 4, 6]];
%o A386140 (Python) print(list(islice(primes_with("2346"), 41))) # uses function/imports in A385776
%o A386140 (PARI) primes_with(, 1, [2, 3, 4, 6]) \\ uses function in A385776
%Y A386140 Supersequence of A199342, A199346, A260126.
%Y A386140 Cf. A000040, A030431, A385776.
%K A386140 nonn,base,easy
%O A386140 1,1
%A A386140 _Jason Bard_, Jul 17 2025