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.

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

Original entry on oeis.org

2, 7, 227, 277, 727, 2027, 2207, 2707, 2777, 7027, 7207, 7727, 20707, 22027, 22277, 22727, 22777, 27077, 27277, 70207, 72077, 72227, 72277, 72707, 72727, 200227, 202277, 202777, 207227, 222007, 222707, 227027, 227207, 227707, 272227, 272777, 277007
Offset: 1

Views

Author

Vincenzo Librandi, Aug 13 2015

Keywords

Comments

A020459 is a subsequence.

Crossrefs

Cf. Primes that contain only the digits (0,2,k): A036953 (k=1), A260125 (k=3), this sequence (k=7), A261268 (k=9).

Programs

  • Magma
    [p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [0, 2, 7]];
  • Mathematica
    Select[Prime[Range[6 10^4]], Complement[IntegerDigits[#], {0, 2, 7}] == {}&]

A386046 Primes having only {0, 2, 3, 9} as digits.

Original entry on oeis.org

2, 3, 23, 29, 223, 229, 233, 239, 293, 929, 2003, 2029, 2039, 2099, 2203, 2239, 2293, 2309, 2333, 2339, 2393, 2399, 2903, 2909, 2939, 2999, 3023, 3203, 3209, 3229, 3299, 3323, 3329, 3923, 3929, 9029, 9203, 9209, 9239, 9293, 9323, 9923, 9929, 20023, 20029, 20233
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A260125, A260128, A261268.

Programs

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

A386050 Primes having only {0, 2, 5, 9} as digits.

Original entry on oeis.org

2, 5, 29, 59, 229, 509, 599, 929, 2029, 2099, 2909, 2999, 5009, 5059, 5099, 5209, 9029, 9059, 9209, 9929, 20029, 20509, 20599, 20929, 20959, 22229, 22259, 25229, 25999, 29009, 29059, 29209, 29599, 29959, 50599, 50909, 50929, 52009, 52259, 52529, 52999, 55009
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A261268, A385769, A385786.

Programs

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

A386052 Primes having only {0, 2, 6, 9} as digits.

Original entry on oeis.org

2, 29, 229, 269, 929, 2029, 2069, 2099, 2269, 2609, 2699, 2909, 2969, 2999, 6029, 6229, 6269, 6299, 9029, 9209, 9629, 9929, 20029, 20269, 20929, 22229, 22669, 22699, 26029, 26099, 26209, 26669, 26699, 29009, 29209, 29269, 29629, 29669, 60029, 60209, 62099, 62299
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A261268, A385788.

Programs

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

A386054 Primes having only {0, 2, 7, 9} as digits.

Original entry on oeis.org

2, 7, 29, 79, 97, 227, 229, 277, 709, 727, 797, 907, 929, 977, 997, 2027, 2029, 2099, 2207, 2297, 2707, 2729, 2777, 2797, 2909, 2927, 2999, 7027, 7079, 7207, 7229, 7297, 7727, 7907, 7927, 9007, 9029, 9209, 9227, 9277, 9907, 9929, 20029, 20297, 20707, 20929, 22027
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A261181, A261182, A261267, A261268.

Programs

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

A386055 Primes having only {0, 2, 8, 9} as digits.

Original entry on oeis.org

2, 29, 89, 229, 809, 829, 929, 2029, 2089, 2099, 2909, 2999, 8009, 8089, 8209, 8929, 8999, 9029, 9209, 9829, 9929, 20029, 20089, 20809, 20899, 20929, 22229, 28099, 28229, 28289, 28909, 29009, 29209, 29989, 80209, 80809, 80909, 80929, 80989, 82009, 82889, 88289
Offset: 1

Views

Author

Jason Bard, Jul 15 2025

Keywords

Crossrefs

Supersequence of A261268, A385772, A385790.

Programs

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