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.

A386033 Primes having only {0, 1, 5, 8} as digits.

Original entry on oeis.org

5, 11, 101, 151, 181, 811, 881, 1051, 1151, 1181, 1511, 1801, 1811, 5011, 5051, 5081, 5101, 5501, 5581, 5801, 5851, 5881, 8011, 8081, 8101, 8111, 8501, 8581, 10111, 10151, 10181, 10501, 11551, 11801, 15101, 15511, 15551, 15581, 15881, 18181, 50051, 50101, 50111
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Supersequence of A061247, A199325, A385780.

Programs

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

A386097 Primes having only {1, 2, 5, 8} as digits.

Original entry on oeis.org

2, 5, 11, 151, 181, 211, 251, 281, 521, 811, 821, 881, 1151, 1181, 1511, 1811, 2111, 2221, 2251, 2281, 2521, 2551, 2851, 5281, 5521, 5581, 5821, 5851, 5881, 8111, 8221, 8521, 8581, 8821, 11251, 11551, 11821, 12211, 12251, 12281, 12511, 12821, 15121, 15511, 15551
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A385773, A385775, A385780.

Programs

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

A386112 Primes having only {1, 3, 5, 8} as digits.

Original entry on oeis.org

3, 5, 11, 13, 31, 53, 83, 113, 131, 151, 181, 311, 313, 331, 353, 383, 811, 853, 881, 883, 1151, 1153, 1181, 1381, 1511, 1531, 1553, 1583, 1811, 1831, 3181, 3313, 3331, 3511, 3533, 3581, 3583, 3833, 3851, 3853, 3881, 5113, 5153, 5333, 5351, 5381, 5531, 5581, 5813
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260224, A260226, A385778, A385780.

Programs

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

A386121 Primes having only {1, 4, 5, 8} as digits.

Original entry on oeis.org

5, 11, 41, 151, 181, 541, 811, 881, 1151, 1181, 1451, 1481, 1511, 1811, 4111, 4441, 4451, 4481, 5441, 5581, 5851, 5881, 8111, 8581, 11411, 11551, 14411, 14551, 14851, 15451, 15511, 15541, 15551, 15581, 15881, 18181, 18451, 18481, 18541, 41141, 41411, 41851, 44111
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260268, A260270, A385780.

Programs

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

A386130 Primes having only {1, 5, 6, 8} as digits.

Original entry on oeis.org

5, 11, 61, 151, 181, 661, 811, 881, 1151, 1181, 1511, 1811, 1861, 5581, 5651, 5851, 5861, 5881, 6151, 6551, 6581, 6661, 8111, 8161, 8581, 8681, 8861, 11161, 11551, 11681, 15161, 15511, 15551, 15581, 15661, 15881, 16111, 16561, 16651, 16661, 16811, 18181, 18661
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A385779, A385780, A385782.

Programs

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

A386132 Primes having only {1, 5, 7, 8} as digits.

Original entry on oeis.org

5, 7, 11, 17, 71, 151, 157, 181, 557, 571, 577, 587, 751, 757, 787, 811, 857, 877, 881, 887, 1117, 1151, 1171, 1181, 1187, 1511, 1571, 1777, 1787, 1811, 1871, 1877, 5171, 5557, 5581, 5711, 5717, 5851, 5857, 5881, 7151, 7177, 7187, 7517, 7577, 7717, 7757, 7817
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260828, A260830, A260892, A385780.

Programs

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

A386134 Primes having only {1, 5, 8, 9} as digits.

Original entry on oeis.org

5, 11, 19, 59, 89, 151, 181, 191, 199, 599, 811, 859, 881, 911, 919, 991, 1151, 1181, 1511, 1559, 1811, 1889, 1951, 1999, 5119, 5189, 5519, 5581, 5591, 5851, 5881, 5981, 8111, 8191, 8581, 8599, 8819, 8951, 8999, 9151, 9181, 9199, 9511, 9551, 9811, 9851, 9859
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A385780, A385781, A385783, A385798.

Programs

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