Sequence
A sequence is a function whose domain consists of consecutive positive integers. The function values a1, a2, a3, ··· , an, ··· are the terms of the sequence.
A sequence is finite if it has a limited number of terms and infinite if it does not.