https://slides.com/georgelee/ics141-sequences-summations/live
A function from a set of consecutive integers (typically the natural numbers or positive integers) to a set S. We use the notation an to denote the image of the integer n. an is also the nth term of the sequence.
Can be finite or infinite.
A set of integers typically generated by a function. Note that sets are NOT ordered, but we typically talk about sequences being a function of an index n.
A sequence defined in terms of the sequence's previous values. We can also say that a recurrence relation is recursively defined.
Recurrence relations typically have a boundary condition which establishes the initial terms of the sequence.
A sequence is called a solution if the terms of the sequence satisfy the recurrence relation.
Example: {1, 1, 2, 3, 5, 8, 13, ...}
A closed formula is a solution to the relation expressed as a non-recursive function of n.
Example: f(n) = n * (n + 1) / 2
A sum of all of the terms in a sequence. Can be a partial sum (a sum of the first n terms). Series can also be finite or infinite.
Σni=m si denotes the sum from m to n.
Just like sequences, series can have a closed formula where a solution is represented only in terms of its bounds.
In mathematical terms,
f(n) = Σni=m si