login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A175599
The difference between maximal run length and minimal run length in binary representation of n.
4
0, 0, 0, 1, 0, 1, 0, 2, 1, 0, 1, 0, 1, 2, 0, 3, 2, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 2, 3, 0, 4, 3, 2, 2, 1, 1, 1, 2, 2, 1, 0, 1, 1, 1, 2, 3, 2, 2, 1, 0, 1, 1, 1, 2, 0, 2, 2, 2, 2, 3, 4, 0, 5, 4, 3, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 3, 3, 2, 1, 1, 1, 0, 1, 2, 2, 1, 1, 1, 2, 2, 3, 4, 3, 3, 2, 1, 1, 1, 1, 1, 2, 1
OFFSET
1,8
FORMULA
a(n)=A043276(n)-A175597(n).
CROSSREFS
Sequence in context: A050317 A325223 A141095 * A179759 A257260 A334208
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Terms checked by D. S. McNeil, Nov 26 2010
STATUS
approved