Generalized Continued Fraction