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”).
%I #6 Mar 31 2012 14:00:56
%S 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,
%T 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,
%U 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
%N The difference between maximal run length and minimal run length in binary representation of n.
%F a(n)=A043276(n)-A175597(n).
%K nonn,base
%O 1,8
%A _Juri-Stepan Gerasimov_, Jul 23 2010
%E Terms checked by _D. S. McNeil_, Nov 26 2010