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

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

Original entry on oeis.org

2, 7, 11, 17, 71, 127, 211, 227, 271, 277, 727, 1117, 1171, 1217, 1277, 1721, 1777, 2111, 2221, 2711, 2777, 7121, 7127, 7177, 7211, 7717, 7727, 11117, 11171, 11177, 11717, 11777, 12211, 12227, 12277, 12721, 17117, 21121, 21211, 21221, 21227, 21277, 21727
Offset: 1

Views

Author

Vincenzo Librandi, Aug 04 2015

Keywords

Comments

A020450, A020455 and A020459 are subsequences.

Crossrefs

Cf. Primes that contain only the digits (k,1,7): A199327 (k=0), this sequence (k=2), A260379 (k=3), A079651 (k=4), A260828 (k=5), A260891 (k=6), A260892 (k=8), A260893 (k=9).

Programs

  • Magma
    [p: p in PrimesUpTo(3*10^4) | Set(Intseq(p)) subset [1, 2, 7]];
  • Mathematica
    Select[Prime[Range[2 10^5]], Complement[IntegerDigits[#], {1, 2, 7}] == {} &]
    Table[Select[FromDigits/@Tuples[{1,2,7},n],PrimeQ],{n,5}]//Flatten (* Harvey P. Dale, Apr 12 2018 *)

A386035 Primes having only {0, 1, 6, 7} as digits.

Original entry on oeis.org

7, 11, 17, 61, 67, 71, 101, 107, 167, 601, 607, 617, 661, 677, 701, 761, 1061, 1117, 1171, 1601, 1607, 1667, 1777, 6007, 6011, 6067, 6101, 6607, 6661, 6701, 6761, 7001, 7177, 7607, 7717, 10007, 10061, 10067, 10111, 10177, 10601, 10607, 10667, 10711, 10771, 11071
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Comments

Primes with decimal digits only in the set {0,1} mod 6.

Crossrefs

Supersequence of A199325, A199326, A260891.

Programs

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

A386114 Primes having only {1, 3, 6, 7} as digits.

Original entry on oeis.org

3, 7, 11, 13, 17, 31, 37, 61, 67, 71, 73, 113, 131, 137, 163, 167, 173, 311, 313, 317, 331, 337, 367, 373, 613, 617, 631, 661, 673, 677, 733, 761, 773, 1117, 1163, 1171, 1361, 1367, 1373, 1613, 1637, 1663, 1667, 1733, 1777, 3137, 3163, 3167, 3313, 3331, 3361
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260379, A260380, A260891, A385777.

Programs

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

A386123 Primes having only {1, 4, 6, 7} as digits.

Original entry on oeis.org

7, 11, 17, 41, 47, 61, 67, 71, 167, 461, 467, 617, 641, 647, 661, 677, 761, 1117, 1171, 1447, 1471, 1667, 1741, 1747, 1777, 4111, 4177, 4441, 4447, 6661, 6761, 7177, 7411, 7417, 7477, 7717, 7741, 11117, 11161, 11171, 11177, 11411, 11447, 11467, 11471, 11617, 11677
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A079651, A260269, A260891, A385794.

Programs

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

A386129 Primes having only {1, 5, 6, 7} as digits.

Original entry on oeis.org

5, 7, 11, 17, 61, 67, 71, 151, 157, 167, 557, 571, 577, 617, 661, 677, 751, 757, 761, 1117, 1151, 1171, 1511, 1567, 1571, 1657, 1667, 1777, 5167, 5171, 5557, 5651, 5657, 5711, 5717, 6151, 6551, 6571, 6577, 6661, 6761, 7151, 7177, 7517, 7561, 7577, 7717, 7757
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260828, A260829, A260891, A385779.

Programs

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

A386136 Primes having only {1, 6, 7, 9} as digits.

Original entry on oeis.org

7, 11, 17, 19, 61, 67, 71, 79, 97, 167, 179, 191, 197, 199, 617, 619, 661, 677, 691, 719, 761, 769, 797, 911, 919, 967, 971, 977, 991, 997, 1117, 1171, 1619, 1667, 1669, 1697, 1699, 1777, 1979, 1997, 1999, 6197, 6199, 6619, 6661, 6679, 6691, 6719, 6761, 6779
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260891, A260893, A261184, A363023.

Programs

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