login
A065676
The exponent of 2 in the fractions of the whole ]0, inf[ Stern-Brocot tree (A007305/A047679) [1/1, 1/2, 2/1, 1/3, 2/3, 3/2, 3/1, 1/4, 2/5, 3/5, 3/4, 4/3, 5/3, 5/2, 4/1, ...].
3
0, -1, 1, 0, 1, -1, 0, -2, 1, 0, -2, 2, 0, -1, 2, 0, 1, -3, 0, 2, -3, 0, 2, -2, 0, 3, -2, 0, 3, -1, 0, -1, 1, 0, -1, 2, 0, -2, 2, 0, -2, 3, 0, -1, 3, 0, -1, 1, 0, -3, 1, 0, -3, 2, 0, -2, 2, 0, -2, 1, 0, -1, 1, 0, 1, -1, 0, 2, -1, 0, 2, -1, 0, 3, -1, 0, 3, -4, 0, 1, -4, 0, 1, -1, 0, 2, -1, 0, 2, -1, 0, 1, -1, 0, 1, -1, 0, 1, -1, 0, 1, -2, 0, 1, -2, 0, 1, -1
OFFSET
1,8
MAPLE
[seq(exp_of_2(SternBrocotTreeNum(j)/SternBrocotTreeDen(j)), j=1..128)];
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 22 2001
STATUS
approved