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!)
A036932 Smallest n-digit prime containing only digits 1 and 5, or 0 if no such prime exists. 1
5, 11, 151, 1151, 11551, 115151, 1111151, 15511151, 111151511, 1111115111, 11111151551, 111111111511, 1111111155151, 11111111511151, 111111111155111, 1111111111155151, 11111111111115151, 111111111115151551 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[SelectFirst[FromDigits/@Tuples[{1, 5}, n], PrimeQ], {n, 20}] (* Harvey P. Dale, Aug 04 2019 *)
CROSSREFS
Sequence in context: A267078 A276511 A020453 * A162252 A179388 A336623
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jan 04 1999
EXTENSIONS
Corrected by Harvey P. Dale, Mar 19 2013
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 April 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)