Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #4 May 19 2020 07:25:11
%S 1,0,1,3,1,2,7,6,1,2,7,5,5,16,19,9,1,2,7,5,5,16,19,8,5,16,17,15,37,54,
%T 37,12,1,2,7,5,5,16,19,8,5,16,17,15,37,54,37,11,5,16,17,15,37,54,35,
%U 18,37,50,47,89,145,128,61,15,1,2,7,5,5,16,19,8,5,16,17,15,37,54,37,11,5,16,17
%N a(0)=1; a(1)=0; a(2)=1; for n>=3 if n=2^i + j with 0<=j<2^i then a(n)=a(j) + 2*a(j + 1) except we add 1 if j=2^i-1.
%F I would very much like a g.f. for this sequence!
%Y Cf. A151843-A151874.
%K nonn
%O 0,4
%A _N. J. A. Sloane_, Jul 17 2009