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 *)

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

Original entry on oeis.org

3, 7, 37, 73, 307, 337, 373, 733, 773, 3037, 3307, 3373, 3733, 7307, 7333, 7703, 30307, 30703, 30707, 30773, 33037, 33073, 33377, 33703, 33773, 37003, 37307, 37337, 70003, 70373, 73037, 73303, 77003, 77377, 77773, 300007, 300073, 300733, 303007, 303073, 303307
Offset: 1

Views

Author

Vincenzo Librandi, Jul 24 2015

Keywords

Comments

A020463 is a subsequence.

Crossrefs

Cf. Primes that contain only the digits (k,3,7): this sequence (k=0), A260379 (k=1), A214704 (k=2), A199347 (k=4), A087363 (k=5), A260380 (k=6), A260381 (k=8), A260382 (k=9).
Subsequence of A155055.

Programs

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

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
    

A386088 Primes having only {1, 2, 3, 7} as digits.

Original entry on oeis.org

2, 3, 7, 11, 13, 17, 23, 31, 37, 71, 73, 113, 127, 131, 137, 173, 211, 223, 227, 233, 271, 277, 311, 313, 317, 331, 337, 373, 727, 733, 773, 1117, 1123, 1171, 1213, 1217, 1223, 1231, 1237, 1277, 1321, 1327, 1373, 1721, 1723, 1733, 1777, 2111, 2113, 2131, 2137
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Supersequence of A062350, A214704, A260379, A260889.

Programs

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

A386141 Primes having only {2, 3, 4, 7} as digits.

Original entry on oeis.org

2, 3, 7, 23, 37, 43, 47, 73, 223, 227, 233, 277, 337, 347, 373, 433, 443, 727, 733, 743, 773, 2237, 2243, 2273, 2333, 2347, 2377, 2423, 2437, 2447, 2473, 2477, 2777, 3323, 3343, 3347, 3373, 3433, 3727, 3733, 4243, 4273, 4327, 4337, 4373, 4423, 4447, 4723, 4733
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A199342, A199347, A214704, A385784.

Programs

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

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

Original entry on oeis.org

2, 3, 7, 23, 37, 67, 73, 223, 227, 233, 263, 277, 337, 367, 373, 673, 677, 727, 733, 773, 2237, 2267, 2273, 2333, 2377, 2633, 2663, 2677, 2767, 2777, 3323, 3373, 3623, 3637, 3673, 3677, 3727, 3733, 3767, 6263, 6277, 6323, 6337, 6367, 6373, 6637, 6673, 6733, 6737
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A214704, A260126, A260380, A385787.

Programs

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

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

Original entry on oeis.org

2, 3, 7, 23, 37, 73, 83, 223, 227, 233, 277, 283, 337, 373, 383, 727, 733, 773, 787, 823, 827, 877, 883, 887, 2237, 2273, 2287, 2333, 2377, 2383, 2777, 2833, 2837, 2887, 3323, 3373, 3727, 3733, 3823, 3833, 3877, 7237, 7283, 7333, 7723, 7727, 7823, 7873, 7877
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A214704, A260127, A260381, A385789.

Programs

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

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

Original entry on oeis.org

2, 3, 7, 23, 29, 37, 73, 79, 97, 223, 227, 229, 233, 239, 277, 293, 337, 373, 379, 397, 727, 733, 739, 773, 797, 929, 937, 977, 997, 2237, 2239, 2273, 2293, 2297, 2333, 2339, 2377, 2393, 2399, 2729, 2777, 2797, 2927, 2939, 2999, 3229, 3299, 3323, 3329, 3373, 3727
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A214704, A260128, A260382, A261182.

Programs

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