a(n) = minimal value of n+k+1 such that the concatenation of the binary expansions of n,n+1,...,n+k is divisible by n+k+1, or -1 if no such n+k+1 exists.

A332586

a(n) = minimal value of n+k+1 such that the concatenation of the binary expansions of n,n+1,...,n+k is divisible by n+k+1, or -1 if no such n+k+1 exists.

Terms

    a(0) =3a(1) =9a(2) =257a(3) =165a(4) =29a(5) =13a(6) =585a(7) =23a(8) =11a(9) =15a(10) =395a(11) =21a(12) =1605a(13) =33a(14) =185a(15) =59a(16) =1897a(17) =229a(18) =77a(19) =41a(20) =91a(21) =1377a(22) =37a(23) =111a(24) =251a(25) =1559a(26) =605a(27) =329a(28) =43a(29) =61

External references