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

A386021 Primes having only {0, 1, 2, 8} as digits.

Original entry on oeis.org

2, 11, 101, 181, 211, 281, 811, 821, 881, 1021, 1181, 1201, 1801, 1811, 2011, 2081, 2111, 2221, 2281, 2801, 8011, 8081, 8101, 8111, 8221, 8821, 10111, 10181, 10211, 11801, 11821, 12011, 12101, 12211, 12281, 12821, 18121, 18181, 18211, 20011, 20021, 20101, 20201
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Subsequence of A173580.
Supersequence of A036953, A061247, A385775.

Programs

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

A386089 Primes having only {1, 2, 3, 8} as digits.

Original entry on oeis.org

2, 3, 11, 13, 23, 31, 83, 113, 131, 181, 211, 223, 233, 281, 283, 311, 313, 331, 383, 811, 821, 823, 881, 883, 1123, 1181, 1213, 1223, 1231, 1283, 1321, 1381, 1811, 1823, 1831, 2111, 2113, 2131, 2213, 2221, 2281, 2311, 2333, 2381, 2383, 2833, 3121, 3181, 3221
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Supersequence of A062350, A260127, A385775, A385778.

Programs

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

A386100 Primes having only {1, 2, 6, 8} as digits.

Original entry on oeis.org

2, 11, 61, 181, 211, 281, 661, 811, 821, 881, 1181, 1621, 1811, 1861, 2111, 2161, 2221, 2281, 2621, 2861, 6121, 6211, 6221, 6661, 8111, 8161, 8221, 8681, 8821, 8861, 11161, 11261, 11621, 11681, 11821, 12161, 12211, 12281, 12611, 12821, 16111, 16661, 16811, 18121
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A385774, A385775, A385782.

Programs

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

A386104 Primes having only {1, 2, 8, 9} as digits.

Original entry on oeis.org

2, 11, 19, 29, 89, 181, 191, 199, 211, 229, 281, 811, 821, 829, 881, 911, 919, 929, 991, 1129, 1181, 1229, 1289, 1291, 1811, 1889, 1999, 2111, 2129, 2221, 2281, 2819, 2999, 8111, 8191, 8219, 8221, 8291, 8819, 8821, 8929, 8999, 9181, 9199, 9221, 9281, 9811, 9829
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A385775, A385776, A385783, A385790.

Programs

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