## On Sets of Words of Rank Two

**Authors:**Castiglione, G.; Fici, G.; Restivo, A.**Publication year:**2019**Type:**Contributo in atti di convegno pubblicato in volume**OA Link:**http://hdl.handle.net/10447/393694

### Abstract

Given a (finite or infinite) subset X of the free monoid Aâˆ— over a finite alphabet A, the rank of X is the minimal cardinality of a set F such that XâŠ† Fâˆ—. A submonoid M generated by k elements of Aâˆ— is k-maximal if there does not exist another submonoid generated by at most k words containing M. We call a set XâŠ† Aâˆ— primitive if it is the basis of a |X|-maximal submonoid. This extends the notion of primitive word: indeed, w is a primitive set if and only if w is a primitive word. By definition, for any set X, there exists a primitive set Y such that XâŠ† Yâˆ—. The set Y is therefore called a primitive root of X. As a main result, we prove that if a set has rank 2, then it has a unique primitive root. This result cannot be extended to sets of rank larger than 2. For a single word w, we say that the set x, y is a binary root of w if w can be written as a concatenation of copies of x and y and x, y is a primitive set. We prove that every primitive word w has at most one binary root x, y such that |x|+|y|<|w|. That is, the binary root of a word is unique provided the length of the word is sufficiently large with respect to the size of the root. Our results are also compared to previous approaches that investigate pseudo-repetitions, where a morphic involutive function Î¸ is defined on Aâˆ—. In this setting, the notions of Î¸ -power, Î¸ -primitive and Î¸ -root are defined, and it is shown that any word has a unique Î¸ -primitive root. This result can be obtained with our approach by showing that a word w is Î¸ -primitive if and only if w, Î¸(w) is a primitive set.