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.

A386081 Primes having only {0, 5, 8, 9} as digits.

Original entry on oeis.org

5, 59, 89, 509, 599, 809, 859, 5009, 5059, 5099, 8009, 8059, 8089, 8599, 8999, 9059, 9859, 50599, 50909, 50989, 55009, 55589, 55889, 58099, 58889, 58909, 59009, 59509, 59809, 59999, 80599, 80809, 80909, 80989, 85009, 85889, 85909, 85999, 88589, 89009, 89599, 89809
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Supersequence of A385769, A385772, A385798.

Programs

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

A386164 Primes having only {2, 5, 8, 9} as digits.

Original entry on oeis.org

2, 5, 29, 59, 89, 229, 599, 829, 859, 929, 2999, 8599, 8929, 8999, 9829, 9859, 9929, 22229, 22259, 22859, 25229, 25589, 25889, 25999, 28229, 28289, 28559, 28859, 29599, 29959, 29989, 52259, 52289, 52529, 52859, 52889, 52999, 55229, 55259, 55529, 55589, 55829
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385786, A385790, A385798.

Programs

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

A386183 Primes having only {3, 5, 8, 9} as digits.

Original entry on oeis.org

3, 5, 53, 59, 83, 89, 353, 359, 383, 389, 593, 599, 839, 853, 859, 883, 953, 983, 3359, 3389, 3533, 3539, 3559, 3583, 3593, 3833, 3853, 3889, 3989, 5333, 5393, 5399, 5839, 5939, 5953, 8353, 8389, 8539, 8599, 8839, 8893, 8933, 8999, 9533, 9539, 9833, 9839, 9859
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A260226, A260227, A385792, A385798.

Programs

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

A386192 Primes having only {4, 5, 8, 9} as digits.

Original entry on oeis.org

5, 59, 89, 449, 499, 599, 859, 4549, 4889, 4999, 5449, 5849, 8599, 8849, 8999, 9859, 9949, 44449, 44549, 44959, 45589, 45599, 45949, 45959, 45989, 48449, 48589, 48859, 48889, 48989, 49459, 49499, 49549, 49559, 49999, 54449, 54499, 54559, 54949, 54959, 55589, 55849
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385793, A385796, A385798.

Programs

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

A386198 Primes having only {5, 6, 8, 9} as digits.

Original entry on oeis.org

5, 59, 89, 569, 599, 659, 859, 5569, 5659, 5669, 5689, 5869, 6569, 6599, 6659, 6689, 6869, 6899, 6959, 8599, 8669, 8689, 8699, 8969, 8999, 9689, 9859, 55589, 55889, 56569, 56599, 56659, 56989, 56999, 58699, 58889, 59659, 59669, 59699, 59999, 65599, 65699, 65899
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385797, A385798, A385800.

Programs

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

A386199 Primes having only {5, 7, 8, 9} as digits.

Original entry on oeis.org

5, 7, 59, 79, 89, 97, 557, 577, 587, 599, 757, 787, 797, 857, 859, 877, 887, 977, 997, 5557, 5779, 5857, 5879, 5897, 5987, 7559, 7577, 7589, 7757, 7759, 7789, 7877, 7879, 8597, 8599, 8779, 8887, 8999, 9587, 9787, 9857, 9859, 9887, 55579, 55589, 55787, 55799, 55889
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A106110, A260830, A260831, A385798.

Programs

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