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 #3 Mar 30 2012 18:50:29
%S 0,1,3,4,7,17,17,11,15,37,18,62,37,62,62,26,31,77,69,130,69,120,120,
%T 186,77,130,120,186,130,186,186,57,63,157,141,266,70,249,249,382,141,
%U 249,81,371,249,189,371,501,157,266,249,382,249,371,189,501,266,382
%N Sum of distinct binary numbers contained as substrings in binary, circular formed representation of n and not longer than n.
%C a(2^k-1)=2^(k+1)-(k+2); a(2^k)=2^(k+1)-1;
%C for k>0: a(2^k+1)=a(3*2^(k-1))=2^(k+1);
%C a(2^k-1)=A078823(2^k-1), a(2^k)=A078823(2^k).
%Y Cf. A078824, A078823, A007088.
%K nonn,base
%O 0,3
%A _Reinhard Zumkeller_, Dec 08 2002