In mathematics and computer science, the critical exponent of a finite or infinite sequence of symbols over a finite alphabet describes the largest number of times a contiguous subsequence can be repeated. For example, the critical exponent of "Mississippi" is 7/3, as it contains the string "ississi", which is of length 7 and period 3.
If w is an infinite word over the alphabet A and x is a finite word over A, then x is said to occur in w with exponent ñ, for positive real ñ, if there is a factor y of w with y = x<sup>a</sup>x<sub>0</sub> where x<sub>0</sub> is a prefix of x, a is the integer part of ñ, and the length |y| = ñ |x|: we say that y is an ñ-power. The word w is ñ-power-free if it contains no factors which are ò-powers for any ò âÂÂ¥ ñ.
The critical exponent for w is the supremum of the ñ for which w has ñ-powers, or equivalently the infimum of the ñ for which w is ñ-power-free.
If is a word (possibly infinite), then the critical exponent of is defined to be
where .
The repetition threshold of an alphabet A of n letters is the minimum critical exponent of infinite words over A: clearly this value RT(n) depends only on n. For n=2, any binary word of length four has a factor of exponent 2, and since the critical exponent of the ThueâÂÂMorse sequence is 2, the repetition threshold for binary alphabets is RT(2) = 2. It is known that RT(3) = 7/4, RT(4) = 7/5 and that RT(n) = n/(n-1) for n âÂÂ¥ 5.