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.

A036940 Smallest n-digit prime containing only digits 3 and 4, or 0 if no such prime exists.

Original entry on oeis.org

3, 43, 433, 3343, 33343, 333433, 3333433, 34333333, 333334333, 3333334343, 33333333343, 333333343333, 3333333333433, 33333333433333, 333333333334343, 3333333333333343, 33333333333433433, 333333333333334343
Offset: 1

Views

Author

Patrick De Geest, Jan 04 1999

Keywords

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[FromDigits/@Tuples[{3,4},n],PrimeQ],{n,18}] (* The program uses the SelectFirst function from Mathematica version 10 *) (* Harvey P. Dale, May 29 2015 *)