Recurrences
Recurrences, or recurrence relations, are equations that define sequences by relating each term to one or more previous terms. A recurrence typically specifies the value of the nth term in terms of the preceding k terms, together with initial conditions that supply the first k terms. The order is the number of prior terms involved, and the coefficients determine how those terms combine.
They can be linear or nonlinear; linear recurrences have terms that are linear combinations of previous terms.
Solve methods: For linear homogeneous recurrences with constant coefficients, solutions are found by solving a characteristic
Example: the Fibonacci sequence is defined by F(n) = F(n-1) + F(n-2) with initial values F(0)=0 and F(1)=1.
Applications: Recurrences model algorithm running times, dynamic programming solutions, combinatorial counts, and population or economic models.