backward algorithm for a continued fraction

Input interpretation

backward algorithm for a continued fraction (continued fraction result)