The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036936 Smallest n-digit prime containing only digits 1 and 9, or 0 if no such prime exists. 1
0, 11, 191, 1999, 11119, 111119, 1111991, 11111119, 111111199, 1111111919, 11111111911, 111111199919, 1111111119919, 11111111119111, 111111111119119, 1111111111111999, 11111111111111119, 111111111111191111 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Table[SelectFirst[FromDigits/@Tuples[{1, 9}, n], PrimeQ], {n, 20}]/. Missing["NotFound"]->0 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 26 2020 *)
CROSSREFS
Sequence in context: A001408 A298643 A185123 * A002195 A280070 A171553
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jan 04 1999
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 06:19 EDT 2024. Contains 372703 sequences. (Running on oeis4.)