Sequence
A sequence is an ordered collection of elements where repetitions are allowed, in contrast to a set. Intuitively, you can think of every sequence as being supported by a function that maps a set of consecutive non-negative integers (indexes) to a set of elements.
For example, \((C, A, T)\) is a sequence. Another sequence is \((A, C, T).\) Because order matters, they're not the same sequence.
In computing, finite sequences are known as arrays or lists, while infinite sequences are called streams.
Sometimes, parentheses \(()\) are used to emphasize that a collection, such as \(a, b, c, d\), is in fact a sequence, \((a, b, c, d).\)