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.

A036951 Smallest n-digit prime containing only the digits 8 and 9, or 0 if no such prime exists.

Original entry on oeis.org

0, 89, 0, 8999, 89899, 888989, 8888989, 88888999, 888898889, 8888888989, 88888888999, 888888898999, 8888888999899, 88888888888889, 888888888898999, 8888888888989999, 88888888888888889, 888888888888898889
Offset: 1

Views

Author

Patrick De Geest, Jan 04 1999

Keywords

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[10#+9&/@FromDigits/@Tuples[{8,9},n-1],PrimeQ],{n,20}]/. (Missing["NotFound"]->0) (* Harvey P. Dale, Feb 01 2018 *)