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-10 of 11 results. Next

A261267 Primes having only {0, 2, 7} as digits.

Original entry on oeis.org

2, 7, 227, 277, 727, 2027, 2207, 2707, 2777, 7027, 7207, 7727, 20707, 22027, 22277, 22727, 22777, 27077, 27277, 70207, 72077, 72227, 72277, 72707, 72727, 200227, 202277, 202777, 207227, 222007, 222707, 227027, 227207, 227707, 272227, 272777, 277007
Offset: 1

Views

Author

Vincenzo Librandi, Aug 13 2015

Keywords

Comments

A020459 is a subsequence.

Crossrefs

Cf. Primes that contain only the digits (0,2,k): A036953 (k=1), A260125 (k=3), this sequence (k=7), A261268 (k=9).

Programs

  • Magma
    [p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [0, 2, 7]];
  • Mathematica
    Select[Prime[Range[6 10^4]], Complement[IntegerDigits[#], {0, 2, 7}] == {}&]

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

Original entry on oeis.org

2, 3, 23, 223, 233, 263, 2333, 2633, 2663, 3323, 3623, 6263, 6323, 23333, 23623, 23633, 23663, 26263, 26633, 32233, 32323, 32363, 32633, 33223, 33623, 36263, 62233, 62323, 62633, 222323, 223633, 226663, 232333, 232363, 232633, 232663, 233323, 233663, 236323
Offset: 1

Views

Author

Vincenzo Librandi, Jul 17 2015

Keywords

Crossrefs

Cf. similar sequences listed in A260125.
Cf. A020458 (a subsequence).

Programs

  • Magma
    [p: p in PrimesUpTo(300000) | Set(Intseq(p)) subset [2,3,6]];
  • Mathematica
    Select[Prime[Range[3 10^4]], Complement[IntegerDigits[#], {2, 3, 6}]=={} &]

A260127 Primes having only {2, 3, 8} as digits.

Original entry on oeis.org

2, 3, 23, 83, 223, 233, 283, 383, 823, 883, 2333, 2383, 2833, 3323, 3823, 3833, 8233, 22283, 23333, 23833, 28283, 32233, 32323, 32833, 33223, 38333, 38833, 82223, 82883, 83233, 83383, 83833, 88223, 88883, 222323, 222823, 222883, 223283, 223823, 228223, 228233
Offset: 1

Views

Author

Vincenzo Librandi, Jul 17 2015

Keywords

Comments

A020458 and A020464 are subsequences.

Crossrefs

Cf. similar sequences listed in A260125.

Programs

  • Magma
    [p: p in PrimesUpTo(300000) | Set(Intseq(p)) subset [2, 3, 8]];
  • Mathematica
    Select[Prime[Range[3 10^4]], Complement[IntegerDigits[#], {2, 3, 8}]=={} &]

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

Original entry on oeis.org

2, 3, 23, 29, 223, 229, 233, 239, 293, 929, 2239, 2293, 2333, 2339, 2393, 2399, 2939, 2999, 3229, 3299, 3323, 3329, 3923, 3929, 9239, 9293, 9323, 9923, 9929, 22229, 22993, 23293, 23333, 23339, 23399, 23929, 23993, 29333, 29339, 29399, 32233, 32299, 32323
Offset: 1

Views

Author

Vincenzo Librandi, Jul 17 2015

Keywords

Comments

A020458 and A020460 are subsequences.

Crossrefs

Cf. similar sequences listed in A260125.

Programs

  • Magma
    [p: p in PrimesUpTo(300000) | Set(Intseq(p)) subset [2, 3, 9]];
  • Mathematica
    Select[Prime[Range[4 10^3]], Complement[IntegerDigits[#], {2, 3, 9}]=={} &]
    Select[FromDigits/@Flatten[Table[Tuples[{2,3,9},n],{n,5}],1],PrimeQ] (* Harvey P. Dale, Apr 15 2025 *)

A261434 Primes having only {0, 3, 8} as digits.

Original entry on oeis.org

3, 83, 383, 883, 3083, 3803, 3833, 8803, 30803, 33083, 38083, 38303, 38333, 38803, 38833, 80803, 80833, 83003, 83383, 83833, 88003, 88883, 303803, 308003, 308303, 308333, 308383, 330383, 333383, 333803, 338033, 338383, 338803, 380333, 380383, 380803, 383083
Offset: 1

Views

Author

Vincenzo Librandi, Aug 18 2015

Keywords

Comments

A020464 is a subsequence.

Crossrefs

Cf. Primes that contain only the digits (0,3,k): A260044 (k=1), A260125 (k=2), A199340 (k=4), A260223 (k=5), A260378 (k=7), this sequence (k=8).

Programs

  • Magma
    [p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [0, 3, 8]];
  • Mathematica
    Select[Prime[Range[2 10^5]], Complement[IntegerDigits[#], {0, 3, 8}] == {} &]
    Select[FromDigits/@Tuples[{0,3,8},6],PrimeQ] (* Harvey P. Dale, Jul 10 2017 *)

A386041 Primes having only {0, 2, 3, 4} as digits.

Original entry on oeis.org

2, 3, 23, 43, 223, 233, 433, 443, 2003, 2203, 2243, 2333, 2423, 3023, 3203, 3323, 3343, 3433, 4003, 4243, 4423, 20023, 20233, 20323, 20333, 20443, 22003, 22303, 22343, 22433, 23003, 23203, 23333, 24023, 24043, 24203, 24223, 24443, 30203, 30223, 30323, 30403, 32003
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A199342, A260125.

Programs

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

A386042 Primes having only {0, 2, 3, 5} as digits.

Original entry on oeis.org

2, 3, 5, 23, 53, 223, 233, 353, 503, 523, 2003, 2053, 2203, 2333, 2503, 3023, 3203, 3253, 3323, 3533, 5003, 5023, 5233, 5303, 5323, 5333, 5503, 20023, 20233, 20323, 20333, 20353, 20533, 22003, 22303, 23003, 23053, 23203, 23333, 25033, 25253, 25303, 25523, 30203
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A214703, A260125.

Programs

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

A386043 Primes having only {0, 2, 3, 6} as digits.

Original entry on oeis.org

2, 3, 23, 223, 233, 263, 2003, 2063, 2203, 2333, 2633, 2663, 3023, 3203, 3323, 3623, 6203, 6263, 6323, 20023, 20063, 20233, 20323, 20333, 20663, 22003, 22063, 22303, 23003, 23063, 23203, 23333, 23603, 23623, 23633, 23663, 26003, 26203, 26263, 26633, 30203, 30223
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A260125, A260126.

Programs

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

A386044 Primes having only {0, 2, 3, 7} as digits.

Original entry on oeis.org

2, 3, 7, 23, 37, 73, 223, 227, 233, 277, 307, 337, 373, 727, 733, 773, 2003, 2027, 2203, 2207, 2237, 2273, 2333, 2377, 2707, 2777, 3023, 3037, 3203, 3307, 3323, 3373, 3727, 3733, 7027, 7207, 7237, 7307, 7333, 7703, 7723, 7727, 20023, 20233, 20323, 20327, 20333
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A214704, A260125, A261267.

Programs

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

A386045 Primes having only {0, 2, 3, 8} as digits.

Original entry on oeis.org

2, 3, 23, 83, 223, 233, 283, 383, 823, 883, 2003, 2083, 2203, 2333, 2383, 2803, 2833, 3023, 3083, 3203, 3323, 3803, 3823, 3833, 8233, 8803, 20023, 20233, 20323, 20333, 22003, 22283, 22303, 23003, 23203, 23333, 23833, 28283, 30203, 30223, 30323, 30803, 32003, 32083
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A260125, A260127.

Programs

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