Linear recurrence relations
Overview
Important
A linear recurrence relation is a rule that defines each term of a sequence as a linear combination of previous terms. The most common type is the linear recurrence of order , where each term depends on the previous terms. For example, the Fibonacci sequence is defined by .
Important properties
-
The coefficients in the relation are constants.
-
Initial terms (starting values) are needed to generate the sequence.
-
Homogeneous linear recurrences have all terms on one side and zero on the other (e.g., ).
-
Non-homogeneous linear recurrences include an extra function or constant (e.g., ).