Abstract
A quasiperiod of a finite or infinite string is a word whose occurrences cover every part of the string. An infinite string is referred to as quasiperiodic if it has a quasiperiod. We present a characterisation of the set of infinite strings having a certain word q as quasiperiod via a finite language consisting of prefixes of the quasiperiod q. It turns out its star root is a suffix code having a bounded delay of decipherability. This allows us to calculate the maximal subword (or factor) complexity of quasiperiodic infinite strings having quasiperiod q and further to derive that maximally complex quasiperiodic infinite strings have quasiperiods or . It is shown that, for every length , a word of the form (or if l is even) generates the most complex infinite string having this word as quasiperiod. We give the exact ordering of the lengths l with respect to the achievable complexity among all words of length l.
MSC:
68Q45
1. Introduction
In his tutorials [1,2,3] Solomon Marcus dealt with several properties of infinite words. Among them he considered quasiperiodicity and its influence on measures of symmetry like complexity, recurrence or entropy. One topic of interest was their subword complexity (or factor complexity [4]). Besides the asymptotic behaviour of the factor complexity, also known as their topological entropy ([4], Section 4.2.2) or [5] Marcus was also interested in the behaviour of the complexity function assigning to a natural number the number of subwords of the infinite word (-word) . Here he was also concerned with recurrences in -words and their influence to subword complexity. A well-known fact established by Grillenberger is that the asymptotic subword complexity (or topological entropy) of an almost periodic (or uniformly recurrent) -word can be arbitrarily close (but not equal) to the maximal subword complexity (see [4], Theorem 4.4.4).
The present paper summarises results on the subword complexity of infinite words obtained in [6,7,8]. We study in detail the structure of the set of infinite words having a certain word q as quasiperiod and how this is connected with the set of finite words with the same quasiperiod. Moreover, we address a question raised in [9] about the maximally achievable subword complexity of a quasiperiodic infinite word.
A first result shows that for every word q there is a value such that, for every infinite word with quasiperiod q, the complexity function is bounded by , and this bound is achieved for certain infinite words having quasiperiod q. The maximally possible value for is , where is the smallest Pisot-Vijayaraghavan number, that is, the unique real root of the cubic polynomial .
As a generalisation of the above-mentioned questions [2,9] we estimate, for every length , the values , their ordering and the words for which . It appears that a two letter alphabet is sufficient for achieving the maximal complexity .
In order to prove these properties we start with a general investigation of quasiperiodicity of words (as e.g., in [10,11,12]) and infinite words.
The paper is organised as follows. After introducing some notation we derive in Section 3 a characterisation of quasiperiodic words and -words having a certain quasiperiod q. Moreover, we use the finite basis sets and its dual ( and in [12]) from which the sets of quasiperiodic words or -words having quasiperiod q can be constructed. In Section 4 it is then proved that the star root of is a suffix code having a bounded delay of decipherability and, dually, the star root of is a prefix code.
This much prerequisites allow us, in Section 5, to estimate the number of subwords of the language of all quasiperiodic words having quasiperiod q. It turns out that where is the number of subwords of length n of words in and depends on q. We construct, for every quasiperiod q, a quasiperiodic -word with quasiperiod q whose subword complexity is maximal.
The values turn out to be maximal positive roots of polynomials associated with the star root . Section 6 deals with the properties of those polynomials. This allows to compare the roots .
2. Notation and Preliminaries
In this section we introduce the notation used throughout the paper. By we denote the set of natural numbers. Let X be an alphabet of cardinality , and let throughout the paper be two different letters. By we denote the set of finite words on X, including the empty word e, and is the set of infinite strings (-words) over X. Subsets of will be referred to as languages and subsets of as ω-languages.
For and let be their concatenation. This concatenation product extends in an obvious way to subsets and . For a language L let , and by we denote the set of infinite strings formed by concatenating words in L. The smallest subset of a language L which generates is called its star root [13]. It holds
Furthermore is the length of the word and is the set of all finite prefixes of the strings in . We shall abbreviate by .
We denote by the left derivative of the set . As usual, a language is regular provided it is accepted by a finite automaton. An equivalent condition is that its set of left derivatives is finite.
The sets of infixes of B or are and , respectively. In the sequel we assume the reader to be familiar with basic facts of language theory.
We call a word primitive if implies , that is, w is not the power of a shorter word, and we call overlap-free if none of its proper prefixes is a suffix of w. The following facts are known (e.g., [14,15]).
Fact 1.
Every word has a unique representation where v is primitive.
Fact 2.
Let . If then , and for some and . In particular, q is not overlap-free.
Fact 3.
If then are powers of a common (primitive) word.
As usual a language is called a code provided for implies and . A code L is said to be a prefix code (suffix code) provided no codeword is a prefix (suffix) of another codeword.
3. Quasiperiodicity
3.1. General Properties
The notion of quasiperiodicity can be formalised in the following manner. A finite or infinite word is referred to as quasiperiodic with quasiperiod provided that for every there is a prefix of length such that , that is, for every the relation is valid. Informally, has quasiperiod q if every position of occurs within some occurrence of q in [11,12].
Let for , be the set of quasiperiodic words with quasiperiod q. Then and . In order to describe the set of quasiperiodic strings having a certain quasiperiod the following definition is helpful.
Definition 1.
A family , , of words is referred to as a q-chain provided , and .
It holds the following.
Lemma 1.
- 1.
- if and only if there is a q-chain such that .
- 2.
- An ω-word is quasiperiodic with quasiperiod q if and only if there is a q-chain such that .
Proof.
It suffices to show how a family can be converted to a q-chain and vice versa.
Consider and let be a family such that and for .
Define and as long as . Then and . Thus is a q-chain with .
Conversely, let be a q-chain such that and set
By definition, and . Assume and . Then . Consequently, in the q-chain there is a successor , . Let . Then and which contradicts the maximality of . □
Lemma 1 yields the following consequences.
Corollary 1.
Let . Then there are words such that and .
Corollary 2.
Let . Then the following are equivalent.
- 1.
- ξ is quasiperiodic with quasiperiod q.
- 2.
- is infinite.
- 3.
- .
3.2. Finite Generators for Quasiperiodic Words
In this part we consider the finite languages and ( and in [12]) which generate the set of quasiperiodic words as well as the set of quasiperiodic -words having quasiperiod q.
We set
Then we have the following properties.
Proposition 1.
- 1.
- and if and only if q is overlap-free.
- 2.
- 3.
Proof.
1. is obvious and and the equivalence follows immediately from the definition of .
2. In order to prove we show that for every q-chain . This is certainly true for . Now proceed by induction on i. Let and . Then . Now from we obtain , that is, .
Conversely, let and consider . Since the family is a q-chain. This shows .
3. is an immediate consequence of 2. □
Proposition 1 and Corollary 2 imply the following characterisation of -words having quasiperiod q.
Proof.
Since is finite, . □
A dual generator of is obtained by the right-to-left duality of reading words using the suffix relation instead of the prefix relation ⊑.
Analogously to Proposition 1 we obtain
Proposition 2.
- 1.
- and if and only if q is overlap-free.
- 2.
- , and
- 3.
- .
The proof of Items 1 and 2 is similar to the proof of Proposition 1 using the reversed version of q-chain, and Item 3 then follows from Item 2. A slight difference appears with an analogy to Equation (2).
Here the last inclusion might be proper, e.g., for where .
An alternative derivation of the languages and can be found in Definition 2 of [12]. Here the borders, that is, prefixes which are simultaneously suffixes of the quasiperiod q, are used:
In the subsequent sections we focus on the investigation of due to the left-to-right direction of -words.
3.3. Combinatorial Properties of
We investigate basic properties of using simple facts from combinatorics on words (see e.g., [14,15,16]).
Proposition 3.
if and only if and there is a prefix such that for .
This is an immediate consequence of Fact 2.
Corollary 3.
if and only if and there is a such that .
Now set . Then in view of Proposition 3 and Corollary 3 we have the following canonical representation.
We will refer to as the repeated prefix and to k as the repetition factor. If , that is, if we will refer to q as irreducible. (Reducible words are also known as periodic words [10,11].)
Corollary 4.
Every word is primitive.
Proof.
Assume for some and . Then , and, according to Corollary 3 contradicting . □
Proposition 4.
Let , , and .
- 1.
- If then or .
- 2.
- If then .
Proof.
From Proposition 1.2 we know . Consequently, . Then implies or according to whether or not.
Since , it suffices to prove the second assertion for . First one observes that, and . Thus . Therefore, we have and which implies and, according to Fact 3, w and are powers of a common word. The assertion follows because is primitive. □
Next we derive a lower bound on the lengths of words in .
To this end, we use the Theorem of Fine and Wilf.
Theorem 1
([17]). Let . Suppose and , for some , have a common prefix of length . Then v and w are powers of a common word of length . (Here denotes the greatest common divisor of two numbers .)
Proposition 5.
Let , , and . Then .
Proof.
If Corollary 3 and Equation (5) imply that q is a common prefix of and for some . If then by Theorem 1 and v are powers of a common word, that is, v is a power of the primitive word . □
Corollary 5.
Proof.
It suffices to show . To this end observe that in view of Proposition 5 whenever or . □
As an immediate consequence we obtain that if and only if q is an irreducible quasiperiod. Moreover, Proposition 5 shows that
3.4. The Reduced Quasiperiod
Next we investigate the relation between a quasiperiod where and and its reduced quasiperiod . Since , we have .
We continue with a relation between and . It is obvious that for every and
Lemma 2
([7], Lemma 2.2). Let , , and the reduced quasiperiod of q. Then
Proof.
Consider . Then , and, consequently, , that is, .
Conversely, let and . Then, according to Proposition 5 there is a unique such that . Now implies . Since and , we have . □
Together with Corollary 5 this implies
Moreover, we have the following.
Corollary 6.
if and only if and is overlap-free.
Proof.
Since , is equivalent with or, according to Equation (8), with . This amounts to and, following Proposition 1.1 has to be overlap-free. □
For the repeated prefix of we have the obvious relation . In case we can improve this.
Lemma 3.
Let with , and . If then
and there is a nonempty suffix of such that and .
Proof.
We have and, since , also . Moreover, and for some . Since and both prefixes are primitive words, in view of Theorem 1 as a common prefix of and the word has to satisfy , that is, . The assertion now follows from a comparison of the lengths of .
Now, let v be the suffix of defined by . Then and . □
3.5. Primitivity and Superprimitivity
In this section we consider the inclusion relations between the languages . Analogously to the primitivity of words in [10,11,12] a word was referred to as superprimitive if it is not covered by a shorter one. This leads to the following definition.
Definition 2
(superprimitive). A non-empty word is superprimitive if and only if is maximal w.r.t. “⊆” in the family .
The next proposition relates the irreducibility of quasiperiods to superprimitivity.
Proposition 6
([12], Remark 4). If is superprimitive then , and if then q is primitive.
Proof.
If and then for some . Thus and .
As with implies , the other assertion follows. □
The converse of Proposition 6 is not valid.
Example 1.
Let . Then , and but as the word q is not superprimitive.
The word is primitive but has .
In contrast to the fact that the word is always primitive, it need not satisfy let alone be superprimitive..
Example 2.
has which, in turn has with .
It turns out that every language is contained in a unique maximal . To this end we derive the following lemma (cf. also [10,11]).
Lemma 4.
Let and . Then .
For the sake of completeness we give a proof.
Proof.
We use a maximal q-chain with . Assume . Since u has q as prefix and suffix, there are such that and . Let, for , the words be defined by . Then is a q-chain with , that is, . □
Corollary 7.
If and then .
The corollary shows that every language is contained in a unique maximal and that two languages are either disjoint or compatible w.r.t. set inclusion. The latter is not true for -languages.
Example 3.
Let and . Then , but .
4. and as Codes
In this section we investigate in more detail the properties of the star root of . It turns out that is a suffix code which, additionally, has a bounded delay of decipherability. This delay is closely related to the largest power of being a prefix of q.
According to [14,18,19,20] a subset is a code of a delay of decipherability if and only if for all and the relation implies . Observe that is a prefix code if and only if C has delay 0.
First we show that is a suffix code. This generalises Proposition 7 of [12].
Proposition 7.
is a suffix code, and is a prefix code.
Proof.
Assume for some . Then and Proposition 4 (2) proves . Consequently, . Now Proposition 5 implies and hence . Since , we obtain contradicting .
Using the duality of and one shows in an analogous manner that is a prefix code. □
An easy consequence of Proposition 7 is the Left and Right Normal Form of a quasiperiodic string ([12], Proposition 8).
Corollary 8
(Normal Form). Every word has a unique factorisation into words .
Since is a prefix code while the words are prefixes of each other, we obtain generalising Remark 5 of [12]. In fact or depending on whether or not.
We continue this part by investigating the delay of decipherability of . We prove that the delay depends on the repetition factor k.
Theorem 2.
Let , , and . Then is a code having a delay of decipherability of k or .
Proof.
If then in view of Proposition 5 there is a with . Since , we have . Consequently, , that is, the delay of decipherability is at least k.
To prove the converse we show that for the delay cannot exceed m.
Assume the contrary, that is, for some words , , and . From Proposition 4 (1) we obtain or and, since , also .
If , in view of the inequality our assumption yields . Therefore, for the word with and, according to Proposition 4 (2) . This contradicts the fact that is a suffix code.
If , then , and via we obtain from our assumption. This yields the same contradiction as in the case .
The observation finishes the proof. □
For the preceding proof shows the following.
Corollary 9.
If and then has a delay of decipherability of exactly k.
Thus, if and the code may have a minimum delay of decipherability of k or . We provide examples that both cases are possible.
Example 4.
Let . Then , and which is a code having a delay of decipherability 2.
Moreover, in Example 4, . Thus our example shows also that need not be contained in .
Example 5.
Let . Then and is a code having a delay of decipherability 1.
Since is a prefix code, every -word has a unique factorisation into words . For suffix codes the situation is, in general, different. Consider e.g., the suffix code . Property 4 (ii) of [20] (see also ([21], Proposition 1.9)) shows that codes of bounded delay of decipherability also admit a unique factorisation of -words. Thus we obtain from Theorem 2.
Lemma 5
(Normal Form for quasiperiodic -words). Every ω-word has a unique factorisation into words .
5. Subword Complexity
In this section we investigate upper bounds on the the subword complexity function for quasiperiodic -words. If is quasiperiodic with quasiperiod q then Proposition 3 and Corollary 3 show . Thus
Similar to ([22], Proposition 5.5) let . This implies . Consequently, the tight upper bound on the subword complexity of quasiperiodic -words having a certain quasiperiod q is . Observe that in view of Propositions 1 and 2 the identity
holds.
The asymptotic upper bound on the subword complexity is obtained from
that is, for large n, whenever .
The following facts are known from the theory of formal power series (cf. [23,24]). As is a regular language the power series is a rational series and, therefore, satisfies a recurrence relation
with integer coefficients . Thus where , are pairwise distinct roots of the polynomial and are polynomials of degree not larger than k.
In the subsequent parts we estimate values characterising the exponential growth of the family . This growth mainly depends on the root of largest modulus among the and the corresponding polynomial .
First we show that, independently of the quasiperiod q, the root of largest modulus is always positive and the corresponding polynomial is constant.
In the remainder of this section we use, without explicit reference, known results from the theory of formal power series, in particular about generating functions of languages and codes which can be found in the literature, e.g., in [14,23,24].
5.1. The Subword Complexity of a Regular Star Language
The language is a regular star-language of special shape. Here we show that, generally, the number of subwords of regular star-languages grows only exponentially without a polynomial factor. We start with some easily derived relations between the number of words in a regular language and the number of its subwords.
Lemma 6.
If is a regular language then there is an such that
If the finite automaton accepting L has m states then for every there are words of length such that . Thus as a suitable m one may choose the number of states of an automaton accepting the language .
A first consequence of Lemma 6 is that the identity
holds for regular languages .
In order to derive the announced exponential growth we use Corollary 4 of [25] which shows that for every regular language there are constants and a such that
A consequence of Lemma 6 is that Equation (14) holds also (with a different constant ) for .
5.2. The Subword Complexity of
In this part we estimate the value of Equation (11). In view of Equations (10) and (14) the value satisfies the inequality .
Since is a code, we have where is the structure generating function of the finite language . As has non-negative coefficients Pringsheim’s theorem shows that is a singular point of . Thus is the smallest root of . Hence is the largest positive root of the polynomial .
Remark 1.
If the length of does not divide then is the reversed polynomial of , that is, has as roots exactly the the inverses of the roots of .
If divides then (cf. Corollary 5) and has additionally the root 0 with multiplicity where is the longest word in .
Summarising our observations we obtain the following.
Lemma 7.
Let . Then there are constants such that the structure function of the language satisfies
where is the largest (positive) root of the polynomial .
Remark 2.
One could prove Lemma 7 by showing that, for each polynomial , its largest (positive) root has multiplicity 1. Referring to Corollary 4 of [25] (see Equation (14)) we avoided these more detailed considerations of a particular class of polynomials.
Now we are able to formulate our main theorem.
As quasiperiods have trivially , that is, , in the sequel we confine our considerations to quasiperiods q of length , and we will always assume that the first letter of a quasiperiod q is .
Define .
Theorem 3
(Main theorem). Let , be a quasiperiod and . Then or according to whether is odd or even.
Moreover, if .
6. Polynomials
Before proceeding to the proof of our main theorem we derive some properties of polynomials of the form , where . This class of polynomials includes the polynomials whose maximal roots characterise the growth of as described in Lemma 7. We focus in results which are useful for comparing their maximal roots.
The polynomials have the following easily verified properties.
Since and for , Equation (16) shows that once the polynomial has no further root in the interval and has exactly one root in the interval . This yields the following fundamental property.
Property 1.
If is the positive root of the polynomial in and then if and only if .
For the roots of maximal modulus we have the following theorem.
Theorem 4
(Cauchy). Let be a complex polynomial. Then every root of satisfies where is the maximal root of the polynomial .
This implies the following property of polynomials .
From Property 1 we derive the following criterion to compare the maximal roots of polynomials in .
Criterion 1.
Let have maximal roots and , respectively. Then if and only if .
We conclude this section with a bound on the maximal root of certain polynomials in .
Lemma 8.
Let . Then for and for .
Proof.
The assertion follows from the inequality when . The part uses the arithmetic-geometric-means inequality , and the other part is obvious. □
The following special case is needed below in Lemma 12.
Corollary 10.
If then for .
The subsequent sections are devoted to the proof of our main theorem.
7. Irreducible Quasiperiods
We start with irreducible quasiperiods.
7.1. Extremal Polynomials
The polynomials of irreducible quasiperiods have non-zero coefficients only for and . Therefore we investigate the set
Let .
Property 2.
Let a polynomial of degree . Then for , and has the largest positive root among all polynomials of degree n in .
Proof.
This follows from for when and Criterion 1. □
Observe that, for ,
Moreover, the words and are the quasiperiods corresponding to the extremal polynomials and , respectively.
Lemma 9.
Proof.
If then obviously . Conversely, if then . Then, in view of , every prefix of length is also a suffix of q. This is possible only for or . □
In the sequel the positive root of is denoted by . From Criterion 1 we obtain immediately.
Property 3.
Let . We have if and only if .
Then Property 2 implies the following.
Theorem 5.
If is an irreducible quasiperiod then , and if and only if .
7.2. The Ordering of the Maximal Roots
Before we proceed to the case of reducible quasiperiods we determine the ordering of the maximal roots . This will not only be interesting for itself but also useful for proving when q is reducible (see Equation (28) below).
The extremal polynomials satisfy the following general relations (By convention, if ).
Lemma 10.
The polynomials and have largest positive roots among all polynomials in , and for .
Proof.
From Equation (18) we have and, therefore, when .
Similarly, Equation (20) yields which implies for and when . □
The largest (positive) root of the polynomial is also known as the smallest Pisot-Vijayaraghavan number.
So far we have ordered the ‘odd’ roots: . Next we are going to investigate the ordering of the ‘even’ roots .
To this end we derive the following bounds.
Lemma 11.
- 1.
- and for .
- 2.
- Let . Then .
Proof.
1. follows from Lemma 8.
2. We calculate if and the assertion follows with Property 1. □
Remark 3.
The lower bound of Lemma 11.2 does not exceed the lower bound in Lemma 11.1. However, the latter is more convenient for the purposes of Lemma 12.
Lemma 12.
If then and .
Proof.
If then . Consequently, Equation (19) and Lemma 11.2 imply whence .
If we have and, following Lemma 11.1 . Then Equation (21) yields , and Corollary 10 shows whence . □
Since , the proof of Lemma 12 cannot be applied to lower values of n. Thus it remains to establish the order of the for . To this end, we consider some special identities and use Criterion 3 and Lemma 12.
Lemma 13.
Proof.
Lemma 12 shows . Equation (22) yields whence , and Equation (23) yields , that is, . This shows our assertion. □
For the remaining part we consider the identities
Lemma 14.
Proof.
We use Equations (24)–(26). Then implies , implies , and, finally, implies . □
Now Lemma 10, 12–14 yield the complete ordering of the values .
Theorem 6.
Let be the maximal root of the polynomial . Then the overall ordering of the values starts with
and continues as follows .
In connection with Proposition 6 and Corollary 7 we obtain that the Pisot-Vijayaraghavan number is an overall upper bound on the values .
Corollary 11.
If then .
From Lemma 11.1 we obtain immediately.
Corollary 12.
Let be infinite. Then .
8. Reducible Quasiperiods
Reducible quasiperiods q have a repeated prefix with and a repetition factor such that where . Moreover . Observe that is primitive.
We shall consider three cases depending on the relation between the lengths , , the length of the suffix and the repetition factor .
IN the first case , in view of , we have necessarily and and, therefore, and .
Let now . We divide the remaining cases according to the additional requirement and its complementary one . In the latter case we have necessarily and .
8.1. The Case
Thus, the preceding consideration shows that we have (in particular, if ) or the repetition factor . This implies (where ) or .
From Equation (6) we have
This implies that for the polynomials have non-zero coefficients only for , and , that is, are of the form where . Therefore, in the sequel we consider the positive roots of polynomials in
Let and be its maximal root. (In the preceding paper [8] we used a slightly different definition of , and, therefore, of and .) Similar to Property 2, Criterion 3 and Theorem 5 we have the following.
Property 4.
Let and . Then for , and has the largest positive root among all polynomials of degree n and parameter ℓ in .
Lemma 15.
If , is a quasiperiod with then for , in particular, .
Remark 4.
In contrast to Property 2 not for every polynomial there is a quasiperiod q such that , see Remark 5 below.
We have the following relation between the polynomials and .
This yields
Corollary 13.
Let . If then .
Proof.
If then . Thus , that is, . □
Next we show the relation for all quasiperiods q having and .
Lemma 16.
Let and . Then .
Proof.
Above we have shown that and imply or according to whether is odd or even.
The ordering of Theorem 6 and Corollary 13 show for all odd values and for all even values .
It remains to consider the exceptional case when . Here and imply . Consider .
From and we have , that is, . □
Remark 5.
Equation (6) shows that for and we have , that is, . Thus there is no quasiperiod q such that .
8.2. The Case
This amounts to where .
Here we have to go into more detail and to take into consideration also the reduced quasiperiod of q and its repeated prefix . Observe that both repeated prefixes are primitive.
Observe that (in view of Lemma 3 even if ) and thus .
Let and . Here the parameter j corresponds to the value . Then similar to Property 4 and Lemma 15 we have
Property 5.
Let and . Then for , and has the largest positive root among all polynomials of degree n and parameters ℓ and j in .
Lemma 17.
If , is a quasiperiod with and then for , in particular, .
We consider the cases separately. In the sequel we shall make use of the relation
8.2.1. The Case
As shown above the case and amounts to . Thus we may consider only the case when . Here we have the following relation between and .
Lemma 18.
If and then .
Proof.
and from Equation (29) we obtain . □
First we suppose . Then , and Property 5 and Lemma 17 yield for . Now Equations (29) and (30) show , that is .
It remains to consider . If then which is not primitive. Thus and, since is primitive, whence .
We obtain and, consequently, . Then (Observe again if ).
8.2.2. The Case
Here we have the following relation between and .
Lemma 19.
If then .
8.2.3. The Case
Here we have the following relation between and .
Lemma 20.
If with then .
Proof.
First we suppose . Then Property 5, Equation (32) and yield , that is, .
It remains to consider . If Lemma 3 implies . Consequently, . Then and , and Equation (6) yields where and . Thus for .
This shows , that is, . □
Summarising, the results of Section 8 yield.
Theorem 7.
If , is a reducible quasiperiod then .
Our main theorem (Theorem 3) then follows from Theorems 5 and 7.
Together with Corollary 12 our theorem yields a new proof of a theorem of [5] which shows that multi-scale quasiperiodic infinite words have zero topological entropy. In [5] a multi-scale quasiperiodic infinite word is a quasiperiodic infinite word which admits infinitely many quasiperiods.
9. Concluding Remark
In this paper we dealt with the function for quasiperiodic -words. Their factor complexity (or topological entropy) is defined as (e.g., [4], Section 4.2.2 or [5,22]). Thus the upper bound for is which is bounded away from the value 1 for almost periodic -words.
Along with the subword complexity in [5] the Kolmogorov complexity of quasiperiodic -words was addressed. Obviously, subword complexity upper bounds Kolmogorov complexity (e.g., [22]). Since the -languages are regular ones, the results of [22] show that there are -words whose Kolmogorov complexity achieves their subword complexity. Moreover, as where is a finite prefix code, the results of [22,26,27] give more detailed bounds for most complex quasiperiodic -words w.r.t. several notions of Kolmogorov complexity [28].
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The author declares no conflict of interest.
References
- Marcus, S. Bridging two hierarchies of infinite words. J. UCS 2002, 8, 292–296. [Google Scholar]
- Marcus, S. Quasiperiodic infinite words (column: Formal language theory). Bull. EATCS 2004, 82, 170–174. [Google Scholar]
- Marcus, S.; Păun, G. Infinite (almost periodic) words, formal languages and dynamical systems. Bull. EATCS 1994, 54, 224–231. [Google Scholar]
- Cassaigne, J.; Nicolas, F. Factor complexity. Combinatorics, automata and number theory. In Encyclopedia of Mathematics and Its Applications; Cambridge University Press: Cambridge, UK, 2010; Volume 135, pp. 163–247. [Google Scholar]
- Monteil, T.; Marcus, S. Quasiperiodic infinite words: Multi-scale case and dynamical properties. arXiv 2006, arXiv:math/0603354. [Google Scholar]
- Polley, R.; Staiger, L. The maximal subword complexity of quasiperiodic infinite words. In Proceedings of the Twelfth Annual Workshop on Descriptional Complexity of Formal Systems, Saskatoon, SK, Canada, 8–10 August 2010. [Google Scholar]
- Staiger, L. Quasiperiods of infinite words. In Mathematics almost Everywhere. In Memory of Solomon Marcus; Bellow, A., Calude, C.S., Zamfirescu, T., Eds.; World Scientific: Hackensack, NJ, USA, 2018; pp. 17–36. [Google Scholar]
- Staiger, L. On the generative power of quasiperiods. In Lecture Notes in Computer Science, Proceedings of the 22nd International Conference Descriptional Complexity of Formal Systems, Vienna, Austria, 24–26 August 2020; Jirásková, G., Pighizzini, G., Eds.; Springer: Cham, Switzerland, 2020; Volume 12442, pp. 219–230. [Google Scholar]
- Levé, F.; Richomme, G. Quasiperiodic infinite words: Some answers (column: Formal language theory). Bull. EATCS 2004, 84, 128–138. [Google Scholar]
- Apostolico, A.; Ehrenfeucht, A. Efficient detection of quasiperiodicities in strings. Theor. Comput. Sci. 1993, 119, 247–265. [Google Scholar] [CrossRef]
- Apostolico, A.; Farach, M.; Iliopoulos, C.S. Optimal superprimitivity testing for strings. Inform. Process. Lett. 1991, 39, 17–20. [Google Scholar] [CrossRef]
- Mouchard, L. Normal forms of quasiperiodic strings. Theoret. Comput. Sci. 2000, 249, 313–324. [Google Scholar] [CrossRef]
- Brzozowski, J.A. Roots of star events. J. ACM 1967, 14, 466–477. [Google Scholar] [CrossRef]
- Berstel, J.; Perrin, D. Theory of codes. In Pure and Applied Mathematics; Academic Press Inc.: Orlando, FL, USA, 1985; Volume 117. [Google Scholar]
- Shyr, H.-J. Free Monoids and Languages, 3rd ed.; Hon Min Book Company: Taichung, Taiwan, 2001. [Google Scholar]
- Lothaire, M. Combinatorics on Words, 2nd ed.; Cambridge University Press: Cambridge, UK, 1997; Volume 17. [Google Scholar]
- Fine, N.J.; Wilf, H.S. Uniqueness theorems for periodic functions. Proc. Am. Math. Soc. 1965, 16, 109–114. [Google Scholar] [CrossRef]
- Bruyère, V.; Wang, L.M.; Zhang, L. On completion of codes with finite deciphering delay. Eur. J. Combin. 1990, 11, 513–521. [Google Scholar] [CrossRef][Green Version]
- Fernau, H.; Reinhardt, K.; Staiger, L. Decidability of code properties. Theor. Inform. Appl. 2007, 41, 243–259. [Google Scholar] [CrossRef]
- Staiger, L. On infinitary finite length codes. RAIRO Inform. Théor. Appl. 1986, 20, 483–494. [Google Scholar] [CrossRef][Green Version]
- Devolder, J.; Latteux, M.; Litovsky, I.; Staiger, L. Codes and infinite words. Acta Cybernet. 1994, 11, 241–256. [Google Scholar]
- Staiger, L. Kolmogorov complexity and Hausdorff dimension. Inform. Comput. 1993, 103, 159–194. [Google Scholar] [CrossRef]
- Berstel, J.; Reutenauer, C. Rational series and their languages. In EATCS Monographs on Theoretical Computer Science; Springer: Berlin/Heidelberg, Germany, 1988; Volume 12. [Google Scholar]
- Salomaa, A.; Soittol, M. Automata-Theoretic Aspects of Formal Power Series; Springer: New York, NY, USA, 1978. [Google Scholar]
- Staiger, L. The entropy of finite-state ω-languages. Probl. Control Inform. Theory/Probl. Upravlen. Teor. Inform. 1985, 14, 383–392. [Google Scholar]
- Mielke, J.; Staiger, L. On oscillation-free ε-random sequences II. In Computability and Complexity in Analysis; Dagstuhl Seminar Proceedings; Bauer, A., Hertling, P., Ko, K.-I., Eds.; Schloss Dagstuhl-Leibniz-Zentrum für Informatik: Wadern, Germany, 2009; Volume 09003. [Google Scholar]
- Staiger, L. Bounds on the Kolmogorov complexity function for infinite words. In Information and Complexity; World Scientific Series in Information Studies; Chapter 8; Burgin, M., Calude, C.S., Eds.; World Scientific: Hackensack, NJ, USA, 2017; Volume 6, pp. 200–224. [Google Scholar]
- Uspensky, V.A.; Shen, A. Relations between varieties of Kolmogorov complexities. Math. Syst. Theory 1996, 29, 271–292. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).