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.

A386051 Primes having only {0, 2, 6, 7} as digits.

Original entry on oeis.org

2, 7, 67, 227, 277, 607, 677, 727, 2027, 2207, 2267, 2677, 2707, 2767, 2777, 6007, 6067, 6277, 6607, 7027, 7207, 7607, 7727, 20627, 20707, 22027, 22067, 22277, 22727, 22777, 26227, 26267, 26627, 26777, 27067, 27077, 27277, 27767, 60077, 60607, 60727, 62207, 62627
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A261267, A385770, A385787.

Programs

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

A386099 Primes having only {1, 2, 6, 7} as digits.

Original entry on oeis.org

2, 7, 11, 17, 61, 67, 71, 127, 167, 211, 227, 271, 277, 617, 661, 677, 727, 761, 1117, 1171, 1217, 1277, 1621, 1627, 1667, 1721, 1777, 2111, 2161, 2221, 2267, 2617, 2621, 2671, 2677, 2711, 2767, 2777, 6121, 6211, 6217, 6221, 6271, 6277, 6661, 6761, 7121, 7127
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260889, A260891, A385774, A385787.

Programs

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

A386147 Primes having only {2, 3, 6, 7} as digits.

Original entry on oeis.org

2, 3, 7, 23, 37, 67, 73, 223, 227, 233, 263, 277, 337, 367, 373, 673, 677, 727, 733, 773, 2237, 2267, 2273, 2333, 2377, 2633, 2663, 2677, 2767, 2777, 3323, 3373, 3623, 3637, 3673, 3677, 3727, 3733, 3767, 6263, 6277, 6323, 6337, 6367, 6373, 6637, 6673, 6733, 6737
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A214704, A260126, A260380, A385787.

Programs

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

A386155 Primes having only {2, 4, 6, 7} as digits.

Original entry on oeis.org

2, 7, 47, 67, 227, 277, 467, 647, 677, 727, 2267, 2447, 2467, 2477, 2647, 2677, 2767, 2777, 4447, 6247, 6277, 6427, 7247, 7477, 7727, 22247, 22277, 22447, 22727, 22777, 24247, 24677, 24767, 26227, 26267, 26627, 26647, 26777, 27277, 27427, 27647, 27767, 42227
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385784, A385787, A385794.

Programs

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

A386160 Primes having only {2, 5, 6, 7} as digits.

Original entry on oeis.org

2, 5, 7, 67, 227, 257, 277, 557, 577, 677, 727, 757, 2267, 2557, 2657, 2677, 2767, 2777, 5227, 5527, 5557, 5657, 6257, 6277, 6577, 7577, 7727, 7757, 22277, 22567, 22727, 22777, 25577, 25657, 25667, 26227, 26267, 26557, 26627, 26777, 27277, 27527, 27767, 52267
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A214705, A260829, A385787.

Programs

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

A386166 Primes having only {2, 6, 7, 9} as digits.

Original entry on oeis.org

2, 7, 29, 67, 79, 97, 227, 229, 269, 277, 677, 727, 769, 797, 929, 967, 977, 997, 2267, 2269, 2297, 2677, 2699, 2729, 2767, 2777, 2797, 2927, 2969, 2999, 6229, 6269, 6277, 6299, 6679, 6779, 6967, 6977, 6997, 7229, 7297, 7669, 7699, 7727, 7927, 9227, 9277, 9629
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A261182, A261184, A385787, A385788.

Programs

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