In mathematics, a continued fraction is an expression obtained through an iterative process of representing a number as the sum of its integer part and the reciprocal of another number, then writing this other number as the sum of its integer part and another reciprocal, and so on. In a finite continued fraction (or terminated continued fraction), the iteration/recursion is terminated after finitely many steps by using an integer in lieu of another continued fraction. In contrast, an infinite continued fraction is an infinite expression.
In mathematics, an infinite periodic continued fraction is a continued fraction that can be placed in the form where the initial block of k + 1 partial denominators is followed by a block [ak+1, ak+2,...ak+m] of partial denominators that repeats ad infinitum. For example, can be expanded to a periodic continued fraction, namely as [1,2,2,2,...]. The partial denominators {ai} can in general be any real or complex numbers. That general case is treated in the article convergence problem.