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-8 of 8 results.

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

Original entry on oeis.org

2, 3, 23, 223, 233, 2003, 2203, 2333, 3023, 3203, 3323, 20023, 20233, 20323, 20333, 22003, 22303, 23003, 23203, 23333, 30203, 30223, 30323, 32003, 32203, 32233, 32303, 32323, 33023, 33203, 33223, 200003, 200023, 200033, 200323, 203023, 203233, 203323
Offset: 1

Views

Author

Vincenzo Librandi, Jul 17 2015

Keywords

Crossrefs

Cf. Primes that contain only the digits (2,3,k): this sequence (k=0), A062350 (k=1), A199342 (k=4), A214703 (k=5), A260126 (k=6), A214704 (k=7), A260127 (k=8), A260128 (k=9).
Cf. A020458 (a subsequence).

Programs

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

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

Original entry on oeis.org

3, 5, 53, 353, 503, 3533, 5003, 5303, 5333, 5503, 30553, 33053, 33353, 33503, 33533, 35053, 35353, 35533, 50033, 50053, 50333, 50503, 53003, 53353, 53503, 55333, 303053, 303553, 305033, 305353, 305533, 330053, 333503, 333533, 335033, 350003, 350033, 350503
Offset: 1

Views

Author

Vincenzo Librandi, Jul 20 2015

Keywords

Comments

A020462 is subsequence.

Crossrefs

Cf. Primes that contain only the digits (3,5,k): this sequence (k=0), A260224 (k=1), A214703 (k=2), A199345 (k=4), A260225 (k=6), A087363 (k=7), A260226 (k=8), A260227 (k=9).
Cf. A020462.

Programs

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

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
    

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

Original entry on oeis.org

2, 3, 5, 11, 13, 23, 31, 53, 113, 131, 151, 211, 223, 233, 251, 311, 313, 331, 353, 521, 523, 1123, 1151, 1153, 1213, 1223, 1231, 1321, 1511, 1523, 1531, 1553, 2111, 2113, 2131, 2153, 2213, 2221, 2251, 2311, 2333, 2351, 2521, 2531, 2551, 3121, 3221, 3251, 3253
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Subsequence of A190222.
Supersequence of A062350, A214703, A385773.

Programs

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

A386139 Primes having only {2, 3, 4, 5} as digits.

Original entry on oeis.org

2, 3, 5, 23, 43, 53, 223, 233, 353, 433, 443, 523, 2243, 2333, 2423, 2543, 3253, 3323, 3343, 3433, 3533, 4243, 4253, 4423, 4523, 5233, 5323, 5333, 5443, 22343, 22433, 22453, 22543, 23333, 24223, 24443, 24533, 25243, 25253, 25343, 25423, 25453, 25523, 32233, 32323
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A199342, A199345, A214703.

Programs

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

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

Original entry on oeis.org

2, 3, 5, 23, 53, 223, 233, 263, 353, 523, 563, 653, 2333, 2633, 2663, 3253, 3323, 3533, 3623, 5233, 5323, 5333, 5563, 5623, 5653, 6263, 6323, 6353, 6553, 6563, 6653, 23333, 23563, 23623, 23633, 23663, 25253, 25523, 25633, 26263, 26633, 32233, 32323, 32353, 32363
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A214703, A260126, A260225.

Programs

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

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

Original entry on oeis.org

2, 3, 5, 23, 53, 83, 223, 233, 283, 353, 383, 523, 823, 853, 883, 2333, 2383, 2833, 3253, 3323, 3533, 3583, 3823, 3833, 3853, 5233, 5323, 5333, 8233, 8353, 22283, 22853, 23333, 23833, 25253, 25523, 25583, 28283, 32233, 32323, 32353, 32533, 32833, 33223, 33353
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A214703, A260127, A260226.

Programs

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

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

Original entry on oeis.org

2, 3, 5, 23, 29, 53, 59, 223, 229, 233, 239, 293, 353, 359, 523, 593, 599, 929, 953, 2239, 2293, 2333, 2339, 2393, 2399, 2539, 2593, 2939, 2953, 2999, 3229, 3253, 3259, 3299, 3323, 3329, 3359, 3529, 3533, 3539, 3559, 3593, 3923, 3929, 5233, 5323, 5333, 5393, 5399
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A214703, A260128, A260227, A385786.

Programs

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