On Collapsing Prefix Normal Words
Pamela Fleischmann, Mitja Kulczynski, Dirk Nowotka

TL;DR
This paper explores properties of prefix normal words, focusing on prefix normal palindromes and collapsing words, providing characterizations and connections to help address open problems in the field.
Contribution
It introduces characterizations of prefix normal palindromes and collapsing words, extending the understanding of prefix normal words and proposing ways to decompose related open problems.
Findings
Characterizations of prefix normal palindromes
Characterizations of collapsing words
Connection between palindromes and collapsing words
Abstract
Prefix normal words are binary words in which each prefix has at least the same number of s as any factor of the same length. Firstly introduced by Fici and Lipt\'ak in 2011, the problem of determining the index of the prefix equivalence relation is still open. In this paper, we investigate two aspects of the problem, namely prefix normal palindromes and so-called collapsing words (extending the notion of critical words). We prove characterizations for both the palindromes and the collapsing words and show their connection. Based on this, we show that still open problems regarding prefix normal words can be split into certain subproblems.
| word length | prefix normal palindromes | # prefix normal words |
|---|---|---|
| , | ||
| , | ||
| , | ||
| , | ||
| , | ||
| , | ||
| , | ||
| , |
| # |
|---|
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11institutetext: Department of Computer Science, Kiel University, Kiel, Germany
11email: {fpa,mku,dn}@informatik.uni-kiel.de
22institutetext: Department of Computer Science, Aalborg University, Aalborg, Denmark
22email: [email protected]
On Collapsing Prefix Normal Words
Pamela Fleischmann 11
Mitja Kulczynski 11
Dirk Nowotka 11
Danny Bøgsted Poulsen 22
Abstract
Prefix normal words are binary words in which each prefix has at least the same number of s as any factor of the same length. Firstly introduced in 2011, the problem of determining the index (amount of equivalence classes for a given word length) of the prefix normal equivalence relation is still open. In this paper, we investigate two aspects of the problem, namely prefix normal palindromes and so-called collapsing words (extending the notion of critical words). We prove characterizations for both the palindromes and the collapsing words and show their connection. Based on this, we show that still open problems regarding prefix normal words can be split into certain subproblems.
1 Introduction
Two words are called abelian equivalent if the amount of each letter is identical in both words, e.g. rotor and torro are abelian equivalent albeit banana and ananas are not. Abelian equivalence has been studied with various generalisations and specifications such as abelian-complexity, -abelian equivalence, avoidability of (-)abelian powers and much more (cf. e.g., [6, 10, 13, 11, 17, 22, 24, 23] ). The number of occurrences of each letter is captured in the Parikh vector (also known as Parikh image or Parikh mapping) ([21]): given a lexicographical order on the alphabet, the i$${}^{\text{th}} component of this vector is the amount of the i$${}^{\text{th}} letter of the alphabet in a given word. Parikh vectors have been studied in [12, 16, 19] and are generalised to Parikh matrices for saving more information about the word than just the amount of letters (cf. eg., [20, 25]).
A recent generalisation of abelian equivalence, for words over the binary alphabet , is prefix normal equivalence (pn-equivalence) [14]. Two binary words are pn-equivalent if their maximal numbers of s in any factor of length are equal for all . Burcsi et al. [5] showed that this relation is indeed an equivalence relation and moreover that each class contains exactly one uniquely determined representative - called a prefix normal word. A word is said to be prefix normal if the prefix of of any length has at least the number of s as any of ’s factors of the same length. For instance, the word is prefix normal but is not, witnessed by the fact that is a factor but not a prefix. Both words are pn-equivalent. In addition to being representatives of the pne-classes, prefix normal words are also of interest since they are connected to Lyndon words, in the sense that every prefix normal word is a pre-necklace [14]. Furthermore, as shown in [14], the indexed jumbled pattern matching problem (see e.g. [2, 4, 18]) is connected to prefix normal forms: if the prefix normal forms are given, the indexed jumbled pattern matching problem can be solved in linear time of the word length . The best known algorithm for this problem has a run-time of (see [7]). Consequently there is also an interest in prefix normal forms from an algorithmic point of view. An algorithm for the computation of all prefix normal words of length in run-time per word is given in [8]. Balister and Gerke [1] showed that the number of prefix normal words of length is and the class of a given prefix normal word contains at most elements. A closed formula for the number of prefix normal words is still unknown. In “OEIS” [15] the number of prefix normal words of length (A194850), a list of binary prefix normal words (A238109), and the maximum size of a class of binary words of length having the same prefix normal form (A238110), can be found. An extension to infinite words is presented in [9].
Our contribution. In this work we investigate two conspicuities mentioned in [14, 3]: palindromes and extension-critical words. Generalising the result of [3] we prove that prefix normal palindromes (pnPal) play a special role since they are not pn-equivalent to any other word. Since not all palindromes are prefix normal, as witnessed by , determining the number of pnPals is an (unsolved) sub-problem. We show that solving this sub-problem brings us closer to determining the index, i.e. number of equivalence classes w.r.t. a given word length, of the pn-equivalence relation. Moreover we give a characterisation based on the maximum-ones function for pnPals. The notion of extension-critical words is based on an iterative approach: compute the prefix normal words of length based on the prefix normal words of length . A prefix normal word is called extension-critical if is not prefix normal. For instance, the word is prefix normal but is not and thus is called extension-critical. This means that all non-extension-critical words contribute to the class of prefix normal words of the next word-length. We investigate the set of extension-critical words by introducing an equivalence relation collapse, grouping all extensional-critical words that are pn-equivalent w.r.t. length . Finally we prove that (prefix normal) palindromes and the collapsing relation (extensional-critical words) are related. In contrast to [14] we work with suffix-normal words (least representatives) instead of prefix-normal words. It follows from Lemma 1 that both notions lead to the same results.
Structure of the paper. In Section 2, the basic definitions and notions are presented. In Section 3, we present the results on pnPals. Finally, in Section 4, the iterative approach based on collapsing words is shown. This includes a lower bound and an upper bound for the number of prefix normal words, based on pnPals and the collapsing relation. Due to space restrictions all proofs are in the appendix.
2 Preliminaries
Let denote the set of natural numbers starting with , and let . Define , for , and set .
An alphabet is a finite set , the set of all finite words over is denoted by , and the empty word by . Let be the free semigroup for the free monoid . Let denote the i$${}^{\text{th}} letter of that is or . The length of a word is denoted by and let . Set for . Set for all . The number of occurrences of a letter in is denoted by . For a given word the reversal of is defined by . A word is a factor of if holds for some words . If then is called a prefix of and a suffix if . Let denote the sets of all factors, prefixes, and suffixes respectively. Define and , are defined accordingly. Notice that for all . The powers of are recursively defined by , for .
Following [14], we only consider binary alphabets, namely with the fixed lexicographic order induced by on . In analogy to binary numbers we call a word odd if and even otherwise.
For a function for and an arbitrary alphabet the concatenation of the images defines a finite word . Since is bijective, we will identify with and use in both cases (as long as it is clear from the context). This definition allows us to access ’s reversed function easily by .
Definition 1
The maximum-ones functions is defined for a word by giving for each the maximal number of s occuring in a factor of length . Likewise the prefix-ones and suffix-ones functions are defined by and .
Definition 2
Two words are called prefix-normal equivalent (pn-equivalent, ) if holds and ’s equivalence class is denoted by . A word is called prefix (suffix) normal iff ( resp.) holds. Let denote the maximal-one sum of a .
Remark 1
Notice that , , for all . By and follows immediately that a word is prefix normal iff its reversal is suffix normal.
Fici and Lipták [14] showed that for each word there exists exactly one that is prefix normal - the prefix normal form of . We introduce the concept of least representative, which is the lexicographically smallest element of a class and thus also unique. As mentioned in [5] palindromes play a special role. Immediately by for , we have , i.e. palindromes are the only words that can be prefix and suffix normal. Recall that not all palindromes are prefix normal witnessed by .
Definition 3
A palindrome is called prefix normal palindrome (pnPal) if it is prefix normal. Let denote the set of all prefix normal palindromes of length and set . Let be the set of all palindromes of length .
3 Properties of the Least-Representatives
Before we present specific properties of the least representatives (LR) for a given word length, we mention some useful properties of the maximum-ones, prefix-ones, and suffix-ones functions (for the basic properties we refer to [14, 5] and the references therein). Since we are investigating only words of a specific length, we fix .
Beyond the relation the mappings and are determinable from each other. Counting the s in a suffix of length and adding the s in the corresponding prefix of length of a word , gives the overall amount of s of , namely
[TABLE]
For suffix (resp. prefix) normal words this leads to resp. witnessing the fact for palindromes (since both equation hold). Before we show that indeed pnPals form a singleton class w.r.t. , we need the relation between the lexicographical order and prefix and suffix normality.
Lemma 1
The prefix normal form of a class is the lexicographically largest element in the class and the suffix-normal of a class is a LR.
Proof
Let be the prefix normal form of the class . Suppose there existed with . Let be the smallest index with . Since we are only considering binary alphabets we get and . By the prefix normality of we have but on the other hand, and the minimality of implies
[TABLE]
This contradiction shows that the prefix normal form of a class is the lexicographically largest element. The reverse is thus the lexicographically smallest element of the class which is by definition the . By Remark 1 follows
[TABLE]
and hence the suffix normality of the . ∎
Lemma 1 implies that a word being prefix and suffix normal forms a singleton class w.r.t. . As mentioned only holds for palindromes.
Proposition 1
For a word it holds that iff .
Proof
Already in [5], the authors proved that implies for . The other direction follow immediately from Lemma 1: if is a prefix normal palindrome it is by definition prefix normal and by , is the lexicographically largest and smallest element of the class. This implies that the class is a singleton.∎
The general part of this section is concluded by a somewhat artificial equation which is nevertheless useful for pnPals : by with for and we get
[TABLE]
The rest of the section will cover properties of the LRs of a class.
Remark 2
For completeness, we mention that is the only even LR w.r.t. and the only pnPal starting with . Moreover, is the largest LR. As we show later in the paper and are of minor interest in the recursive process due to their speciality.
The following lemma is an extension of [5, Lemma 1] for the suffix-one function by relating the prefix and the suffix of the word for a least representative. Intuitively the suffix normality implies that the s are more at the end of the word rather than at the beginning: consider for instance for . The associated word cannot be suffix normal since the suffix of length two has only one () but by , , and we get that within two letters two s are present and consequently . Thus, a word is only least representative if the amount of s at the end of does not exceed the amount of s at the beginning of .
Lemma 2
Let be a LR. Then we have
[TABLE]
Proof
Since is least representative we have and for all . Let , , and . This implies and . If then and . This implies
[TABLE]
If then , and
[TABLE]
The remaining part of this section presents results for prefix normal palindromes. Notice that for with with , is not necessarily a pnPal; consider for instance with . The following lemma shows a result for prefix normal palindromes which is folklore for palindromes substituting by or .
Lemma 3
For , with we have
[TABLE]
Proof
For we have since . For we have
[TABLE]
Finally we have
[TABLE]
In the following we give a characterisation of when a palindrome is prefix normal depending on its maximum-ones function and a derived function . In particular we observe that if and only if is a prefix normal palindrome. Intuitively captures the progress of in reverse order. This is an intriguing result because it shows that properties regarding prefix and suffix normality can be observed when are considered in their serialised representation.
Definition 4
For define by with the extension of and . Define and analogously.
Example 1
Consider the pnPal with . Then is and we have . On the other hand for we have and and and thus .
The following lemma shows a connection between the reversed prefix-ones function and the suffix-ones function that holds for all palindromes.
Lemma 4
For we have .
Proof
Let . We get . Now let . Assume holds. We have by induction
[TABLE]
By Lemma 4 we get since for a palindrome . As advocated earlier, our main theorem of this part (Theorem 3.1) gives a characterisation of pnPals. The theorem allows us to decide if a word is a pnPal by only looking at the maximum-ones-function, thus a comparison of all factors is not required.
Theorem 3.1
Let . Then is a pnPal if and only if .
Proof
Let . By definition of , is prefix normal and a palindrome, i.e. . By Lemma 4 and Definition 4 we get . This proves . Let such that . If , then obviously holds. Otherwise, if , there exists a least representative with . This implies , therefore the assumption also holds for . Firstly, we will prove that is a palindrome. Let and . Thus we have . Since is least representative this implies . By the assumption we get and applying the definition of the reversal and leads to
[TABLE]
Hence we get , i.e. . Thus and therefore is a palindrome. As proven in [5], prefix normal (and thus suffix normal) palindromes are not pn-equivalent to any different word. Consequently and . ∎
Table 2 presents the amount of pnPals up to length . These results support the conjecture in [5] that there is a different behaviour for even and odd length of the word.
4 Recursive Construction of Prefix Normal Classes
In this section we investigate how to generate LRs of length using the the LRs of length . This is similar to the work of Fici and Lipták [14] except they investigated appending a letter to prefix normal words while we explore the behaviour on prepending letters to LRs. Consider the words and , both being (different) LRs of length . Prepending a to them leads to and which are pn-equivalent. We say that and collapse and denote it by . Hence for determining the index of based on the least representatives of length , only the least representative of one class matters.
Definition 5
Two words collapse if holds. This is denoted by .
Prepending a to a non LR will never lead to a LR. Therefore It is sufficient to only look at LRs. Since collapsing is an equivalence relation, denote the equivalence class w.r.t. of a word by . Next, we present some general results regarding the connections between the LRs of lengths and . As mentioned in Remark 2, and are for all LRs. This implies that they do not have to be considered in the recursive process.
Remark 3
By [14] a word is prefix-normal if is prefix-normal. Consequently we know that if a word is suffix normal, is suffix normal as well. This leads in accordance to the naïve upper bound of to a naïve lower bound of for .
Remark 4
The maximum-ones functions for and are equal on all and since the factor determining the maximal number of ’s is independent of the leading . Prepending to a word may result in a difference between and , but notice that since only one is prepended, we always have for all . In both cases we have for and and as well as .
Firstly we improve the naïve upper bound to by proving that only LRs in can become LRs in by prepending or .
Proposition 2
Let not be LR. Neither nor are LRs in .
Proof
Suppose firstly is a least representative, i.e. for all . By and for , we have and thus would be a least representative. Suppose that secondly is a least representative. Since is not a least representative there exists a with . Choose minimal. Since is a least representative, we get
[TABLE]
By Remark 4 we have implies - a contradiction. ∎
By Proposition 1 prefix (and thus suffix) normal palindromes form a singleton class. This implies immediately that a word such that is a prefix normal palindrome, does not collapse with any other . The next lemma shows that even prepending once a and once a to different words leads only to equivalent words in one case.
Lemma 5
Let be different LRs. Then if and only if and .
Proof
The equivalence of and is immediate. This proves the -direction. For the other direction assume . By definition we get for all and moreover by Remark 4 for all . By we get and by there exists with . The equivalence of and implies and thus has to be a prefix of . Hence is a prefix of of length with s. Since this is the overall amount of in , follows and implies immediately . By follows and the claim follows with .∎
By Lemma 5 and Remark 3 it suffices to investigate the collapsing relation on prepanding s. The following proposition characterises the LR among the elements for all LRs with for .
Proposition 3
Let be a LR. Then is a LR if and only if holds for and .
Proof
Let be a least representative. Consider firstly to be least representatives as well. Since is a least representative we have for all . By Remark 4 follows for all and with being a least representative we get for all . By the same arguments we get . Similarly we get for the second direction for all and .∎
Corollary 1
Let . Then for and . Moreover for and .
Proof
Since is a prefix normal palindrome, we have . This implies for all and . If then would contradict for some . This proves the claim for the suffix-ones function.∎
This characterization is unfortunately not convenient for determining either the number of LRs of length from the ones from length or the collapsing LRs of length . For a given word , the maximum-ones function has to be determined, to be extended by , and finally the associated word - under the assumption has to be checked for being suffix normal. For instance, given leads to , and is extended to . This would correspond to which is not suffix normal and thus is not extendable to a new LR. The following two lemmata reduce the amount of LRs that needs to be checked for extensibility.
Lemma 6
Let be a LR such that is a LR as well. Then for all LRs collapsing with , holds for all , i.e. all other LRs have a smaller maximal-one sum.
Proof
Let a least representative with . By the property of being least representatives, the definition of the maximum-ones and suffix-ones functions follows for all
[TABLE]
By there exists at least one with . This implies
[TABLE]
Corollary 2
If and are LRs with and then .
Proof
By exists an minimal with . Suppose and . By we get . Thus
[TABLE]
This contradicts .∎
Remark 5
By Corollary 2 the lexicographically smallest LR among the collapsing leads to the LR of . Thus if is a LR not collapsing with any lexicographically smaller word then is LR.
Before we present the theorem characterizing exactly the collapsing words for a given word , we show a symmetry-property of the LRs which are not extendable to LRs, i.e. a property of words which collapse.
Lemma 7
Let be a LR. Then for some iff .
Proof
Since is least representative, we have
[TABLE]
From follows . Thus has a factor of length with s. The suffix normality of implies that this factor needs to be the prefix of of length , i.e. . Thus we get . On the other hand we have
[TABLE]
Consequently . The second direction follows immediately with and . ∎
By [5, Lemma 10] a word is prefix normal if and only if for all . The following theorem extends this result for determining the collapsing words for a given word .
Theorem 4.1
Let be a LR and with . Let moreover for all with . Then iff
* for all ,* 2. 2.
* implies ,* 3. 3.
**
Proof
Notice that implies immediately and . Moreover for all by Lemma LABEL:f_w(k+1) we have and and by Lemma 7 we get iff .
Firstly consider the -direction, i.e. let with and the properties 1, 2, and 3. We have to prove , hence we have to prove for all . Since does not collapse with any lexicographically smaller , is a least representative by Remark 5. From Proposition 3 follows for all . Obviously we have and hence the claim holds for . By we get . If were then by and consequently by Lemma 7 we would have . Hence the claim holds for . Let . The claim holds by property 1 and Proposition 3 if . Hence, assume for an , i.e. by property 1. By Remark 4 we have .
case 1:
If ’s prefix of length had more (or equal) s than the suffix of length , then the prefix of of length would have strictly more s than the suffix of length . This contradicts and thus we have . By and we get
[TABLE]
This is a contradiction to property 3.
case 2:
In this case we get immediately
[TABLE]
Thus for all which means that and are identical, i.e. and collapse.
For the -direction, assume , i.e. . Proposition 2 implies that can be assumed as a least representative since is a least representative and by and collapsing, is one as well. By Proposition 3 we have for all and thus which proves (2). Since for all we get property 1. Since is a least representative, Lemma 2 implies property 3.∎
Theorem 4.1 allows us to construct the equivalence classes w.r.t. the least representatives of the previous length but more tests than necessary have to be performed: Consider, for instance which is a smallest LR of length not collapsing with any lexicographically smaller LR. For we have where the dots just act as separators between letters. Thus we know for any collapsing with , that and . The constraints and implies . First the check that is impossible excludes . Since no collapsing word can have a factor of length with only one , a band in which the possible values range can be defined by the unique greatest collapsing word . It is not surprising that this word is connected with the prefix normal form. The following two lemmata define the band in which the possible collapsing words are.
Lemma 8
Let be a LR with for all with . Set . Then and for all LRs with and all , thus .
Proof
Set . Then by odd follows
[TABLE]
i.e. . Since does not collapse with any lexicographically smaller word, is a least representative by Remark 5. By Remark 1 and is lexicographically the largest element in the class. If there existed a with , then
[TABLE]
would hold which contradicts the maximality of .∎
Notice that is not necessarily a LR in witnessed by the word of the last example. For we get with and violating the symmetry property given in Lemma 7. The following lemma alters into a LR which represents still the lower limit of the band.
Lemma 9
Let be a LR such that is also a LR. Let with , and the set of all with
[TABLE]
and for all . Then defined such that for all and ( resp.) for all holds, collapses with .
Proof
Let . Since is least representative, we have . If we get
[TABLE]
and thus . If we get in the first case
[TABLE]
and thus . This second case holds analogously.∎
Remark 6
Lemma 9 applied to gives the lower limit of the band. Let denote the output of this application for a given according to Lemma 9.
Continuing with the example, we firstly determine for . We get with Since for all collapsing we have , is determined for . Since the value for de-
termines the one for there are only two possibilities, namely and and and . Notice that the words corresponding to the generated words are not necessarily LRs of the shorter length as witnessed by the one with and . In this example this leads to at most three words being not only in the class but also in the list of former representatives. Thus we are able to produce an upper bound for the cardinality of the class. Notice that in any case we only have to test the first half of ’s positions by Lemma 7. This leads to the following definition.
Definition 6
Let be the Hamming-distance. The palindromic distance is defined by . Define the palindromic prefix length by .
The palindromic distance gives the minimal number of positions in which a bit has to be flipped for obtaining a palindrome. Thus, for all palindromes , and, for instance, since the first half of and the reverse of the second half mismatch in two positions. The palindromic prefix length determines the length of ’s longest prefix being a palindrome. For instance and . Since a LR determines the upper limit of the band and the lower limit, the palindromic distance of is in relation to the positions of in which collapsing words may differ from .
Theorem 4.2
If and are both LRs then .
Proof
By Lemma 8 determines the lower bound of the band for collapsing words. Let with for be the positions with . Thus for all odd , and are different between and , since a different bit leads to a different number of s. By the same argument, and are identical between and for all even . This implies that only the differences in odd positions lead to differences values of the corresponding maximum-ones function. Since each difference in the maximum-ones functions can be altered independently for obtaining a potential collapsing word, the number of collapsing words is exponential in half the palindromic distance. ∎
For an algorithmic approach to determine the LRs of length , we want to point out that the search for collapsing words can also be reduced using the palindromic prefix length. Let be the LRs of length . For each we keep track of . For each we check firstly if since in this case the prepended leads to a palindrome. Only if this is not the case, needs to be determined. All collapsing words computed within the band of and are deleted in .
In the remaining part of the section we investigate the set w.r.t. for . This leads to a second calculation for an upper bound and a refinement for determining the LRs of faster.
Lemma 10
If then is not a LR but is a LR.
Proof
It suffices to prove that is a least representative. Then is prefix normal and since is not a palindrome, is not a least representative. By Corollary 1 follows immediately that is a least representative.∎
Remark 7
By Lemma 10 follows that all words collapse with a smaller LR. Thus, for all , an upper bound for is given by .
For a closed recursive calculation of the upper bound in Remark 7, the exact number is needed. Unfortunately we are not able to determine for arbitrary . The following results show relations between prefix normal palindromes of different lengths. For instance, if then is a prefix normal palindrome as well. The importance of the the pnPals is witnessed by the following estimation.
Theorem 4.3
For all and we have
[TABLE]
Proof
By Corollary 1, is a least representative. From Lemma 8 follows that the band for possible collapsing words is given by . If the band is empty, is the single element in and consequently a palindrome [14]. This implies the lower bound. For the upper bound firstly all , for being a least representative in have to be counted and secondly all prefix normal palindromes. All other elements collapse with at least one different element.∎
The following results only consider pnPals that are different from and . Notice for these special palindromes that , , , , , for an appropriate but .
Lemma 11
If then neither nor are prefix normal palindromes.
Proof
Let be minimal with (exists by ). Thus we have . Since we have and . This implies and hence . The proof of is similar to the proof of Lemma 11: in the middle of is a larger block of ’s than at the end.∎
Lemma 12
Let with . If is also a prefix normal palindrome then or for some and .
Proof
Consider . By follows for an . If , there exists minimal with . Suppose for some and . Then but . This is a contradiction to . This implies . ∎
A characterisation for being a pnPal is more complicated. By follows that a block of s contains at most the number of s of the previous block. But if such a block contains strictly less s the number of s in between can increase by the same amount the number of s decreased.
Lemma 13
Let . If is also a prefix normal palindrome then .
Proof
Let . Since , there exists with . Since there exists a minimal with . If , then or . In both cases a contradiction to . ∎
Lemma 11, 12, and 13 indicate that a characterization of prefix normal palindromes based on smaller ones is hard to determine.
5 Conclusion
Based on the work in [14], we investigated prefix normal palindromes in Section 3 and gave a characterisation based on the maximum-ones function. At the end of Section 4 results for a recursive approach to determine prefix normal palindromes are given. These results show that easy connections between prefix normal palindromes of different lengths cannot be expected. By introducing the collapsing relation we were able to partition the set of extension-critical words introduced in [14]. This leads to a characterization of collapsing words which can be extended to an algorithm determining the corresponding equivalence classes. Moreover we have shown that palindromes and the collapsing classes are related.
The concrete values for prefix normal palindromes and the index of the collapsing relation remain an open problem as well as the cardinality of the equivalence classes w.r.t. the collapsing relation. Further investigations of the prefix normal palindromes and the collapsing classes lead directly to the index of the prefix equivalence.
Acknowledgments. We would like to thank Florin Manea for helpful discussions and advice.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Balister and Gerke [2019] P. Balister and S. Gerke. The asymptotic number of prefix normal words. Jour. Comb. Theo. , 2019.
- 2Burcsi et al. [2012] P. Burcsi, F. Cicalese, G. Fici, and Z. Lipták. Algorithms for jumbled pattern matching in strings. Int. Jour. Found. CS , 23(2):357–374, 2012.
- 3Burcsi et al. [2014 a] P. Burcsi, G. Fici, Z. Lipták, F. Ruskey, and J. Sawada. On combinatorial generation of prefix normal words. In Proc CPM , page 60. Springer, 2014 a.
- 4Burcsi et al. [2014 b] P. Burcsi, G. Fici, Z. Lipták, F. Ruskey, and J. Sawada. Normal, abby normal, prefix normal. In Proc FUN , pages 74–88. Springer, 2014 b.
- 5Burcsi et al. [2017] Péter Burcsi, Gabriele Fici, Zsuzsanna Lipták, Frank Ruskey, and Joe Sawada. On prefix normal words and prefix normal forms. TCS , 659:1–13, 2017.
- 6Cassaigne et al. [2011] J. Cassaigne, G. Richomme, K. Saari, and L. Q. Zamboni. Avoiding abelian powers in binary words with bounded abelian complexity. Int. Jour. Found. CS , 22(04):905–920, 2011.
- 7Chan and Lewenstein [2015] T. M. Chan and M. Lewenstein. Clustered integer 3sum via additive combinatorics. In 47th ACM symp. TOC , pages 31–40. ACM, 2015.
- 8Cicalese et al. [2018] F. Cicalese, Z. Lipták, and M. Rossi. Bubble-flip - a new generation algorithm for prefix normal words. In LATA , volume 10792 of LNCS , pages 207–219. Springer, 2018.
