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.

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

Original entry on oeis.org

2, 7, 227, 277, 727, 787, 827, 877, 887, 2027, 2087, 2207, 2287, 2707, 2777, 2887, 7027, 7207, 7727, 7877, 8087, 8287, 8707, 8807, 8887, 20287, 20707, 20807, 20887, 22027, 22277, 22727, 22777, 22787, 22807, 22877, 27077, 27277, 27827, 28027, 28087, 28277, 28807
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A261267, A385771, A385789.

Programs

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

A386102 Primes having only {1, 2, 7, 8} as digits.

Original entry on oeis.org

2, 7, 11, 17, 71, 127, 181, 211, 227, 271, 277, 281, 727, 787, 811, 821, 827, 877, 881, 887, 1117, 1171, 1181, 1187, 1217, 1277, 1721, 1777, 1787, 1811, 1871, 1877, 2111, 2221, 2281, 2287, 2711, 2777, 2887, 7121, 7127, 7177, 7187, 7211, 7717, 7727, 7817, 7877
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260889, A260892, A385775, A385789.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 7, 8]];
    
  • Mathematica
    Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 7, 8}, n], PrimeQ], {n, 7}]]
  • PARI
    primes_with(, 1, [1, 2, 7, 8]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("1278"), 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
    

A386157 Primes having only {2, 4, 7, 8} as digits.

Original entry on oeis.org

2, 7, 47, 227, 277, 487, 727, 787, 827, 877, 887, 2287, 2447, 2477, 2777, 2887, 4447, 4787, 4877, 7247, 7477, 7487, 7727, 7877, 8287, 8447, 8747, 8887, 22247, 22277, 22447, 22727, 22777, 22787, 22877, 24247, 24847, 24877, 27277, 27427, 27487, 27827, 27847, 28277
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385784, A385789, A385795.

Programs

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

A386162 Primes having only {2, 5, 7, 8} as digits.

Original entry on oeis.org

2, 5, 7, 227, 257, 277, 557, 577, 587, 727, 757, 787, 827, 857, 877, 887, 2287, 2557, 2777, 2857, 2887, 5227, 5527, 5557, 5827, 5857, 7577, 7727, 7757, 7877, 8287, 8527, 8887, 22277, 22727, 22777, 22787, 22877, 25577, 27277, 27527, 27827, 28277, 52727, 52757
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A214705, A260830, A385789.

Programs

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

A386165 Primes having only {2, 6, 7, 8} as digits.

Original entry on oeis.org

2, 7, 67, 227, 277, 677, 727, 787, 827, 877, 887, 2267, 2287, 2677, 2687, 2767, 2777, 2887, 6277, 6287, 6827, 7687, 7727, 7867, 7877, 8287, 8627, 8677, 8867, 8887, 22277, 22727, 22777, 22787, 22877, 26227, 26267, 26627, 26687, 26777, 27277, 27767, 27827, 28277
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385787, A385789, A385799.

Programs

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

A386168 Primes having only {2, 7, 8, 9} as digits.

Original entry on oeis.org

2, 7, 29, 79, 89, 97, 227, 229, 277, 727, 787, 797, 827, 829, 877, 887, 929, 977, 997, 2287, 2297, 2729, 2777, 2789, 2797, 2879, 2887, 2897, 2927, 2999, 7229, 7297, 7727, 7789, 7829, 7877, 7879, 7927, 8287, 8297, 8779, 8887, 8929, 8999, 9227, 9277, 9787, 9829
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A106110, A261182, A385789, A385790.

Programs

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