Continued Fraction Calculator
Enter a value.

What Are Continued Fractions?

A continued fraction expresses a real number as a_0+1a_1+1a_2+1a_3+. Each ai is an integer, and truncating the expansion yields excellent rational approximations. Famous constants like π and e have intriguing patterns in their continued fractions.

Using the Calculator

Provide a decimal number and a maximum number of terms. The algorithm repeatedly takes the integer part, subtracts it, and then inverts the fractional remainder until the desired depth or an exact value is reached. The resulting sequence describes the continued fraction in standard bracket notation.

Insights

Continued fractions reveal number-theoretic properties and often converge faster than simple decimals. They are central in Diophantine approximation, where we seek fractions close to real numbers. Try exploring irrational numbers to see long, non-repeating patterns versus short expansions for rationals.

Related Calculators

Double Integral Calculator - Numerical Approximation

Approximate the value of a double integral over a rectangular region.

double integral calculator

Euler Method ODE Solver - Stepwise Integration

Approximate solutions to first-order differential equations using Euler's method.

Euler method calculator ODE solver

Hermite Interpolation Calculator - Match Values and Slopes

Construct a cubic Hermite interpolant through two points with specified derivatives.

Hermite interpolation calculator cubic interpolant