login
A151851
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)=a(j) + 2*a(j + 1) except we add 1 if j=2^i-1.
1
0, 0, 0, 1, 0, 0, 2, 2, 0, 0, 2, 1, 0, 4, 6, 3, 0, 0, 2, 1, 0, 4, 6, 2, 0, 4, 4, 1, 8, 16, 12, 4, 0, 0, 2, 1, 0, 4, 6, 2, 0, 4, 4, 1, 8, 16, 12, 3, 0, 4, 4, 1, 8, 16, 10, 2, 8, 12, 6, 17, 40, 40, 20, 5, 0, 0, 2, 1, 0, 4, 6, 2, 0, 4, 4, 1, 8, 16, 12, 3, 0, 4, 4, 1, 8, 16, 10, 2, 8, 12, 6, 17, 40, 40, 20, 4
OFFSET
0,7
FORMULA
I would very much like a g.f. for this sequence!
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 17 2009
STATUS
approved