sequenceover
Sequenceover is a term used in mathematics and computer science to denote a sequence whose elements are drawn from a specified set, typically called an alphabet. More formally, let S be a set. A finite sequence over S of length n is a function from the index set {1, ..., n} to S, and is commonly written as (a1, a2, ..., an) with ai in S. An infinite sequence over S is a function from the natural numbers to S and is written (a1, a2, a3, ...).
Notation and concepts: The set of all finite sequences over S is denoted S*, and the set
Examples: A sequence over {0,1} of length 5 is 01001. An infinite sequence over {a,b} could be
Applications: Sequences over an alphabet underpin formal language theory, automata theory, coding theory, and cryptography. They
Variants: Finite versus infinite sequences; prefixes, substrings, and subsequences are common derived notions. See also: word