sequence sb = {1,1} integer c = 2 function stern_brocot(integer n) while length(sb)