Definition
Finite Sequence
A finite sequence of length in a set , where is an integer, is a function
written . The index specifies a position, and is the term at that position. Order matters, and terms may repeat.
Unlike an infinite sequence, it has only finitely many positions.