is a sequence a function?
A sequence is defined as a function, an, having a domain the set of natural numbers and the elements that are in the range of the sequence are called the terms, a1, a2, a3,...., of the sequence. All the elements of a sequence are ordered. There are two kinds of sequences, finite and infinite.