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.

A386143 Primes having only {2, 3, 4, 9} as digits.

Original entry on oeis.org

2, 3, 23, 29, 43, 223, 229, 233, 239, 293, 349, 433, 439, 443, 449, 499, 929, 2239, 2243, 2293, 2333, 2339, 2393, 2399, 2423, 2939, 2999, 3229, 3299, 3323, 3329, 3343, 3433, 3449, 3499, 3923, 3929, 3943, 4229, 4243, 4339, 4349, 4423, 4493, 4933, 4943, 4993, 4999
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A199342, A199349, A260128, A385785.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 3, 4, 9]];
    
  • Mathematica
    Flatten[Table[Select[FromDigits /@ Tuples[{2, 3, 4, 9}, n], PrimeQ], {n, 7}]]
  • PARI
    primes_with(, 1, [2, 3, 4, 9]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("2349"), 41))) # uses function/imports in A385776