OFFSET
0,2
COMMENTS
a(n) is also the length of n-th run of consecutive integers in the complement of A292046, starting from the 1st run "4, 5".
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..65537
FORMULA
PROG
(PARI) A293668(n) = { my(k=1); while(n && !bitand(n, n-1), n = valuation(n, 2); k++); (k); }; \\ Antti Karttunen, Sep 30 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Andrey Zabolotskiy, Oct 14 2017
STATUS
approved