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

A036948 Smallest n-digit prime containing only the digits 6 and 7, or 0 if no such prime exists.

Original entry on oeis.org

7, 67, 677, 0, 67777, 666667, 6676667, 66666667, 666666667, 6666666767, 66666666667, 666666676667, 6666666667777, 66666667677767, 666666666667777, 6666666666767777, 66666666666667667, 666666666666676667
Offset: 1

Views

Author

Patrick De Geest, Jan 04 1999

Keywords

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[10#+7&/@FromDigits/@Tuples[{6,7},n],PrimeQ],{n,0,17}]/. (Missing["NotFound"]->0) (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 08 2019 *)
Showing 1-1 of 1 results.