This site is supported by donations to The OEIS Foundation.

 Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A036951 Smallest n-digit prime containing only digits 8 and 9, or 0 if no such prime exists. 0
 0, 89, 0, 8999, 89899, 888989, 8888989, 88888999, 888898889, 8888888989, 88888888999, 888888898999, 8888888999899, 88888888888889, 888888888898999, 8888888888989999, 88888888888888889, 888888888888898889 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MATHEMATICA Table[SelectFirst[10#+9&/@FromDigits/@Tuples[{8, 9}, n-1], PrimeQ], {n, 20}]/. (Missing["NotFound"]->0) (* Harvey P. Dale, Feb 01 2018 *) CROSSREFS Cf. A036229, A020472, A036325. Sequence in context: A159420 A093222 A114922 * A051328 A166321 A187812 Adjacent sequences:  A036948 A036949 A036950 * A036952 A036953 A036954 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 14 21:09 EST 2018. Contains 318132 sequences. (Running on oeis4.)