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.

A386082 Primes having only {0, 6, 7, 8} as digits.

Original entry on oeis.org

7, 67, 607, 677, 787, 877, 887, 6007, 6067, 6607, 7607, 7687, 7867, 7877, 8087, 8677, 8707, 8807, 8867, 8887, 60077, 60607, 60887, 66067, 66877, 67607, 67777, 67807, 67867, 68087, 68687, 68767, 68777, 70067, 70607, 70667, 70687, 70867, 70877, 76607, 76667, 76777
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Subsequence of A030432.
Supersequence of A385770, A385771, A385799.

Programs

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

A386135 Primes having only {1, 6, 7, 8} as digits.

Original entry on oeis.org

7, 11, 17, 61, 67, 71, 167, 181, 617, 661, 677, 761, 787, 811, 877, 881, 887, 1117, 1171, 1181, 1187, 1667, 1777, 1787, 1811, 1861, 1867, 1871, 1877, 6661, 6761, 6781, 6871, 7177, 7187, 7681, 7687, 7717, 7817, 7867, 7877, 8111, 8117, 8161, 8167, 8171, 8677, 8681
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260891, A260892, A385782, A385799.

Programs

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

A386184 Primes having only {3, 6, 7, 8} as digits.

Original entry on oeis.org

3, 7, 37, 67, 73, 83, 337, 367, 373, 383, 673, 677, 683, 733, 773, 787, 863, 877, 883, 887, 3373, 3637, 3673, 3677, 3733, 3767, 3833, 3863, 3877, 6337, 6367, 6373, 6637, 6673, 6733, 6737, 6763, 6833, 6863, 6883, 7333, 7673, 7687, 7867, 7873, 7877, 7883, 8363
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A260380, A260381, A385791, A385799.

Programs

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

A386193 Primes having only {4, 6, 7, 8} as digits.

Original entry on oeis.org

7, 47, 67, 467, 487, 647, 677, 787, 877, 887, 4447, 4787, 4877, 7477, 7487, 7687, 7867, 7877, 8447, 8467, 8647, 8677, 8747, 8867, 8887, 44647, 44687, 44777, 44867, 44887, 46447, 46477, 46687, 46747, 46867, 46877, 47777, 48487, 48647, 48677, 48767, 48787, 48847
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385794, A385795, A385799.

Programs

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

A386196 Primes having only {5, 6, 7, 8} as digits.

Original entry on oeis.org

5, 7, 67, 557, 577, 587, 677, 757, 787, 857, 877, 887, 5557, 5657, 5857, 5867, 6577, 6857, 7577, 7687, 7757, 7867, 7877, 8677, 8867, 8887, 55667, 55787, 56687, 56767, 56857, 57557, 57587, 57667, 57787, 58567, 58657, 58687, 58757, 58787, 65557, 65587, 65657, 65677
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A260829, A260830, A385799.

Programs

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