In computer science, more particularly in formal language theory, a cyclic language is a set of strings that is closed with respect to repetition, root, and cyclic shift.
If A is a set of symbols, and A is the set of all strings built from symbols in A, then a string set L ⊆ A* is called a formal language over the alphabet A.The language L is called cyclic if
where wn denotes the n-fold repetition of the string w, and vw denotes the concatenation of the strings v and w.[1]
For example, using the alphabet A =, the language
ALIGN=RIGHT | L = | ||
ALIGN=RIGHT | ∪ |