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.

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

Original entry on oeis.org

7, 67, 607, 677, 6007, 6067, 6607, 7607, 60077, 60607, 66067, 67607, 67777, 70067, 70607, 70667, 76607, 76667, 76777, 606077, 606607, 607007, 607067, 607667, 660067, 660607, 666067, 666607, 666667, 666707, 670777, 676007, 677077, 677767, 700067
Offset: 1

Views

Author

Jason Bard, Jul 09 2025

Keywords

Examples

			6007 is a term because it is prime and has only {0,6,7} as digits.
		

Crossrefs

Subsequence of A030432.

Programs

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