The n-th continuant, K(n), of a sequence a = a1,...,an,... is defined recursively by
It may also be obtained by taking the sum of all possible products of a1,...,an in which any pairs of consecutive terms are deleted.
An extended definition takes the continuant with respect to three sequences a, b and c, so that K(n) is a function of a1,...,an, b1,...,bn-1 and c1,...,cn-1. In this case the recurrence relation becomes
Since br and cr enter into K only as a product brcr there is no loss of generality in assuming that the br are all equal to 1.
The simple continuant gives the value of a continued fraction of the form . The n-th convergent is
The extended continuant is precisely the determinant of the tridiagonal matrix