User:IanS1967/sandbox



x = b_0 + \underset{i=1}{\overset{\infty}{\mathrm K}} \frac{a_i}{b_i}.\, $$ Generalized continued fraction Second, if none of the partial denominators bi are zero we can use a similar procedure to choose another sequence {di} to make each partial denominator a 1:



b_0 + \underset{i=1}{\overset{\infty}{\mathrm K}} \frac{a_i}{b_i} = b_0 + \underset{i=1}{\overset{\infty}{\mathrm K}} \frac{d_i a_i}{1}\, $$

where d1 = 1/b1 and otherwise dn+1 = 1/(bnbn+1).