How to use this calculator
Evaluate a finite generalized continued fraction and compare it with the previous convergent.
- Enter Leading denominator b0, Numerators a1 through an, Denominators b1 through bn. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Generalized finite continued fraction evaluation explained
A numerical walkthrough
Leading denominator b0 = 1; Numerators a1 through an = [1, 1, 1, 1, 1]; Denominators b1 through bn = [1, 1, 1, 1, 1].
- Finite continued fraction: 1.625
- Previous convergent: 1.6
- Convergent difference: 0.025
Five unit numerators and denominators after b0=1 give the rational convergent 1.625.
The model behind the numbers
b₀+a₁/(b₁+a₂/(b₂+…+aₙ/bₙ)).
Lists run from the outside inward. Backward evaluation avoids separately multiplying large convergent numerators and denominators; finite depth does not establish convergence of an infinite fraction.
What to enter
b0— Leading denominator b0- Leading term outside the nested fractions.
numerators— Numerators a1 through an- Numerator of each nested fraction, outermost first. Use comma-separated values in the stated order.
denominators— Denominators b1 through bn- Matching denominator constants, outermost first. Use comma-separated values in the stated order.
Interpreting the result
Up to 50 levels; zero nested denominators are rejected. A small last difference is not a rigorous infinite-tail error bound.
Reading the outputs
The current and previous finite values are dimensionless for dimensionless coefficients. Their absolute difference is a truncation diagnostic.
Frequently asked questions
Which list entry is innermost?
The last entry is the innermost level.
Can numerators be negative?
Yes, provided no evaluated nested denominator vanishes.
Does a small convergent difference prove convergence?
No. It is only one local comparison.
How do I use the Generalized finite continued fraction evaluation calculator?
Enter Leading denominator b0, Numerators a1 through an, Denominators b1 through bn. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Generalized finite continued fraction evaluation?
Leading denominator b0 = 1; Numerators a1 through an = [1, 1, 1, 1, 1]; Denominators b1 through bn = [1, 1, 1, 1, 1]. Finite continued fraction: 1.625 Previous convergent: 1.6 Convergent difference: 0.025 Five unit numerators and denominators after b0=1 give the rational convergent 1.625.
Background or definition reference: NIST DLMF continued fractions.
Read our calculation methodology.