OFFSET
1,3
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..16384
EXAMPLE
19 in binary is 10011. The runs of 1's are as follows: (1)00(11). The shortest of these runs contains exactly one 1. So a(19) = 1.
MATHEMATICA
Array[Min@ Map[Length, Select[Split@ IntegerDigits[#, 2], First@ # == 1 &]] &, 105] (* Michael De Vlieger, Oct 26 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Sep 21 2008
EXTENSIONS
Extended by Ray Chandler, Nov 04 2008
STATUS
approved