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.

A062350 Primes having only {1, 2, 3} as digits.

This page as a plain text file.
%I A062350 #19 Jul 20 2025 18:06:00
%S A062350 2,3,11,13,23,31,113,131,211,223,233,311,313,331,1123,1213,1223,1231,
%T A062350 1321,2111,2113,2131,2213,2221,2311,2333,3121,3221,3313,3323,3331,
%U A062350 11113,11131,11213,11311,11321,12113,12211,12323,13121,13313,13331
%N A062350 Primes having only {1, 2, 3} as digits.
%H A062350 Jason Bard, <a href="/A062350/b062350.txt">Table of n, a(n) for n = 1..10000</a> (first 2610 terms from Marius A. Burtea)
%H A062350 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A062350 Select[Prime[Range[2 10^4]], Complement[IntegerDigits[#], {1, 2, 3}]=={}&] (* _Vincenzo Librandi_, Jan 16 2020 *)
%t A062350 Select[Flatten[Table[FromDigits/@Tuples[{1,2,3},n],{n,5}]],PrimeQ] (* _Harvey P. Dale_, Aug 04 2024 *)
%o A062350 (Magma) [p: p in PrimesUpTo(25000) | Intseq(p) subset {1,2,3}]; // _Vincenzo Librandi_, Jan 16 2020
%K A062350 nonn,base,easy
%O A062350 1,1
%A A062350 _Amarnath Murthy_, Jun 23 2001
%E A062350 More terms from Larry Reeves (larryr(AT)acm.org), Jul 06 2001
%E A062350 Offset 1 from _Michel Marcus_, Jan 16 2020