A309217 The sequence is {a(n), n>=0}, the concatenation of the binary expansions of the absolute values |a(n)| is {b(n), n>=0}; start with a(0)=0; thereafter a(n) = a(n-1)+n if b(n-1)=0, otherwise a(n) = a(n-1)-n.
0, 1, -1, -4, -8, -3, 3, -4, 4, 13, 23, 12, 0, -13, -27, -42, -26, -9, -27, -8, 12, -9, -31, -8, -32, -57, -31, -58, -86, -115, -145, -176, -144, -111, -77, -112, -148, -111, -149, -188, -228, -187, -229, -272, -316, -271, -317, -270, -318, -269, -319, -370, -318, -371, -317, -372, -316
Offset: 0
Links
- N. J. A. Sloane, Table of n, a(n) for n = 0..10000
Comments