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!)
A036933 Smallest n-digit prime containing only digits 1 and 6, or 0 if no such prime exists. 1
0, 11, 661, 6661, 11161, 111611, 1111661, 11111161, 111616111, 1111161661, 11111111611, 111111111611, 1111111111661, 11111111616611, 111111111116111, 1111111111616161, 11111111111611661, 111111111111111161 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Join[{0}, Flatten[Table[Select[Sort[FromDigits/@Tuples[{1, 6}, i]], PrimeQ, 1], {i, 2, 20}]]] (* Harvey P. Dale, May 06 2014 *)
CROSSREFS
Sequence in context: A237187 A201175 A211401 * A195889 A195519 A218716
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 April 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)