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.

Original entry on oeis.org

2, 3, 11, 13, 23, 31, 113, 131, 211, 223, 233, 311, 313, 331, 1123, 1213, 1223, 1231, 1321, 2111, 2113, 2131, 2213, 2221, 2311, 2333, 3121, 3221, 3313, 3323, 3331, 11113, 11131, 11213, 11311, 11321, 12113, 12211, 12323, 13121, 13313, 13331
Offset: 1

Views

Author

Amarnath Murthy, Jun 23 2001

Keywords

Programs

  • Magma
    [p: p in PrimesUpTo(25000) | Intseq(p) subset {1,2,3}]; // Vincenzo Librandi, Jan 16 2020
  • Mathematica
    Select[Prime[Range[2 10^4]], Complement[IntegerDigits[#], {1, 2, 3}]=={}&] (* Vincenzo Librandi, Jan 16 2020 *)
    Select[Flatten[Table[FromDigits/@Tuples[{1,2,3},n],{n,5}]],PrimeQ] (* Harvey P. Dale, Aug 04 2024 *)

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Jul 06 2001
Offset 1 from Michel Marcus, Jan 16 2020