OFFSET
1,1
LINKS
FORMULA
a(n) = frac2position_in_whole_SB_tree(sbtree_perm_1_1_left(SternBrocotTreeNum(n)/SternBrocotTreeDen(n)))
MAPLE
sbtree_perm_1_1_left := x -> (`if`((x <= 0), x, (`if`((x < 1), (x/(1+x)), (`if`((x < 2), (1/(3-x)), (x-1)))))));
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 09 2000
STATUS
approved