login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,8

LINKS

Table of n, a(n) for n=0..95.

FORMULA

I would very much like a g.f. for this sequence!

CROSSREFS

Cf. A151843-A151874.

Sequence in context: A319419 A133574 A133573 * A163541 A280815 A165974

Adjacent sequences:  A151856 A151857 A151858 * A151860 A151861 A151862

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Jul 17 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 25 08:33 EST 2021. Contains 341606 sequences. (Running on oeis4.)