Continued Fraction Expansion

Expand any number into its continued fraction [a₀; a₁, a₂, …].

Enter a value and number of terms, or load an example.

About this tool

Repeats x ← 1/(x − ⌊x⌋) up to N terms. Famous patterns: e = [2; 1, 2, 1, 1, 4, …], √2 = [1; 2, 2, 2, …].

An unhandled error has occurred. Reload ×