Lagrange's theorem on periodic continued fractions Quadratic irrationals have eventually periodic expansions.