login
A151871
a(0)=1; a(1)=0; a(2)=2; for n>=3 if n=2^i + j with 0<=j<2^i then a(n)=2*a(j) + 2*a(j + 1) except we add 1 if j=2^i-1.
1
1, 0, 2, 5, 2, 4, 14, 15, 2, 4, 14, 14, 12, 36, 58, 35, 2, 4, 14, 14, 12, 36, 58, 34, 12, 36, 56, 52, 96, 188, 186, 75, 2, 4, 14, 14, 12, 36, 58, 34, 12, 36, 56, 52, 96, 188, 186, 74, 12, 36, 56, 52, 96, 188, 184, 92, 96, 184, 216, 296, 568, 748, 522, 155, 2, 4, 14, 14, 12, 36, 58
OFFSET
0,3
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