login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A151859 a(0)=0; a(1)=0; a(2)=0; for n>=3 if n=2^i + j with 0<=j<2^i then a(n)=2*a(j) + a(j + 1) except we add 1 if j=2^i-1. 1

%I #2 Mar 30 2012 16:51:07

%S 0,0,0,1,0,0,1,3,0,0,1,2,0,1,5,7,0,0,1,2,0,1,5,6,0,1,4,4,1,7,17,15,0,

%T 0,1,2,0,1,5,6,0,1,4,4,1,7,17,14,0,1,4,4,1,7,16,12,1,6,12,9,9,31,49,

%U 31,0,0,1,2,0,1,5,6,0,1,4,4,1,7,17,14,0,1,4,4,1,7,16,12,1,6,12,9,9,31,49,30

%N a(0)=0; a(1)=0; a(2)=0; for n>=3 if n=2^i + j with 0<=j<2^i then a(n)=2*a(j) + 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,8

%A _N. J. A. Sloane_, Jul 17 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 05:00 EDT 2024. Contains 371782 sequences. (Running on oeis4.)