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.

Showing 1-7 of 7 results.

A386048 Primes having only {0, 2, 4, 9} as digits.

Original entry on oeis.org

2, 29, 229, 409, 449, 499, 929, 2029, 2099, 2909, 2999, 4049, 4099, 4229, 4409, 4909, 4999, 9029, 9049, 9209, 9929, 9949, 20029, 20249, 20929, 22229, 22409, 24029, 24049, 24229, 24499, 29009, 29209, 29429, 40009, 40099, 40429, 40499, 40949, 42209, 42299, 42409
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A385768, A385785.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 2, 4, 9]];
    
  • Maple
    f:= n-> (l-> add([0, 2, 4, 9][l[j]+1]*10^(j-1), j=1..nops(l)))(convert(n, base, 4)):
    select(isprime, [seq(f(i), i=0..620)])[];  # Alois P. Heinz, Jul 15 2025
  • Mathematica
    Select[FromDigits /@ Tuples[{0, 2, 4, 9}, n], PrimeQ]
  • PARI
    primes_with(, 1, [0, 2, 4, 9]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("0249"), 41))) # uses function/imports in A385776
    

A386094 Primes having only {1, 2, 4, 9} as digits.

Original entry on oeis.org

2, 11, 19, 29, 41, 149, 191, 199, 211, 229, 241, 419, 421, 449, 491, 499, 911, 919, 929, 941, 991, 1129, 1229, 1249, 1291, 1429, 1499, 1949, 1999, 2111, 2129, 2141, 2221, 2411, 2441, 2999, 4111, 4129, 4211, 4219, 4229, 4241, 4421, 4441, 4919, 4999, 9199, 9221
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Supersequence of A260267, A260271, A385776, A385785.

Programs

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

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
    

A386154 Primes having only {2, 4, 5, 9} as digits.

Original entry on oeis.org

2, 5, 29, 59, 229, 449, 499, 599, 929, 2459, 2549, 2999, 4229, 4259, 4549, 4999, 5449, 9929, 9949, 22229, 22259, 22549, 24229, 24499, 25229, 25999, 29429, 29599, 29959, 42299, 42499, 42929, 44249, 44449, 44549, 44959, 45259, 45599, 45949, 45959, 49429, 49459
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385785, A385786, A385793.

Programs

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

A386156 Primes having only {2, 4, 6, 9} as digits.

Original entry on oeis.org

2, 29, 229, 269, 449, 499, 929, 2269, 2699, 2969, 2999, 4229, 4649, 4969, 4999, 6229, 6269, 6299, 6449, 6469, 6949, 9629, 9649, 9929, 9949, 22229, 22469, 22669, 22699, 24229, 24469, 24499, 26249, 26449, 26669, 26699, 29269, 29429, 29629, 29669, 42299, 42499, 42649
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A107666, A385785, A385788.

Programs

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

A386158 Primes having only {2, 4, 7, 9} as digits.

Original entry on oeis.org

2, 7, 29, 47, 79, 97, 227, 229, 277, 449, 479, 499, 727, 797, 929, 947, 977, 997, 2297, 2447, 2477, 2729, 2749, 2777, 2797, 2927, 2999, 4229, 4297, 4447, 4729, 4799, 4999, 7229, 7247, 7297, 7477, 7499, 7727, 7927, 7949, 9227, 9277, 9479, 9497, 9749, 9929, 9949
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A261182, A261183, A385784, A385785.

Programs

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

A386159 Primes having only {2, 4, 8, 9} as digits.

Original entry on oeis.org

2, 29, 89, 229, 449, 499, 829, 929, 2999, 4229, 4289, 4889, 4999, 8429, 8849, 8929, 8999, 9829, 9929, 9949, 22229, 24229, 24499, 24889, 24989, 28229, 28289, 28429, 28499, 28949, 29429, 29989, 42299, 42499, 42829, 42899, 42929, 42989, 44249, 44449, 48299, 48449
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385785, A385790, A385796.

Programs

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