# Continued Fractions
# 1 Concept
Often written
can be any integer, the other are positive integers.
Rationals have a terminating expansion (implicitly the next term would be ).
Terminating expansions represent rational numbers.
# 2 Conversion
# 3 Arithmetic
See:
Bill Gosper, “Continued Fraction Arithmetic”, unpublished, circa 1978 – https://perl.plover.com/yak/cftalk/INFO/gosper.txt
which also introduces continued logarithms, which have different space/time tradeoffs.