A sequence is a list of terms, while a series is the sum of the terms. A sequence can be defined in two ways:
Sequences can be:
The sequence of Fibonacci numbers is defined by the recurrence relation
The sequence of Lucas numbers[2] is defined by the same recurrence relation as the Fibonacci numbers (each term is the sum of the two immediately before it), but
A linear recurrence relation is where each term in a sequence is a linear function of previous terms, e.g.
A homogenous recurrence relation has the form
A recurrence system is defined by the recurrence relation (e.g.
Solving recurrence relations takes a similar method to the method for second-order differential equations with constant coefficients. For a relation of form
Where
For a first-order recurrence relation, we start by finding the complementary function
The method is similar to above but instead we obtain a quadratic in
We then find the particular solution
Then, apply the initial conditions to find remaining constants from the complementary function.
Footnote on convergence (outside of specification)
There are sequences where the terms converge to 0 that do not sum to a convergent series. For example, the harmonic sequence
Footnote on the Fibonacci and Lucas numbers
Some definitions of the Fibonacci and Lucas numbers start from