{"title":"The Primitive Deficiency of two Primitive Strings","authors":"Othman Echi","doi":"10.1007/s00236-025-00494-y","DOIUrl":null,"url":null,"abstract":"<div><p>Let <span>\\(\\Sigma \\)</span> be an alphabet of size at least 2, and let <span>\\(\\textbf{Q}(\\Sigma )\\)</span> denote the set of all primitive strings over <span>\\(\\Sigma \\)</span>. Let <i>p</i> and <i>q</i> be two distinct primitive strings over <span>\\(\\Sigma \\)</span>. In 1967, Lentin and Schützenberger proved that the language <span>\\(p^+q^+:= \\{p^n q^m: m, n \\in \\mathbb {N} \\setminus \\{0\\}\\}\\)</span> contains at most one periodic string. Moreover, if <span>\\(p^n q^m\\)</span> is periodic, then either <span>\\(n = 1\\)</span> or <span>\\(m = 1\\)</span>. They also showed that if <span>\\(pq^m\\)</span> is periodic, then </p><div><div><span>$$\\begin{aligned} m \\le \\dfrac{2|p|}{|q|} + 3. \\end{aligned}$$</span></div></div><p>The aim of this paper is to provide a complete characterization of all pairs of distinct primitive strings <i>p</i> and <i>q</i> such that <span>\\(pq^m\\)</span> is periodic. As a consequence, we show that if <span>\\(|p| >|q|\\)</span> and <span>\\(pq^m\\)</span> is periodic, and if <i>t</i> is the quotient of the integer division of|<i>p</i>| by|<i>q</i>|, then </p><div><div><span>$$\\begin{aligned} m \\le t + 2. \\end{aligned}$$</span></div></div><p>Furthermore, if <i>t</i> and <i>i</i> are integers such that <span>\\(t \\ge 2\\)</span> and <span>\\(1 \\le i \\le t + 2\\)</span>, we show that there exist two primitive strings <i>p</i> and <i>q</i> with <span>\\(|p| >|q|\\)</span> such that <i>t</i> is the quotient of the integer division of|<i>p</i>| by|<i>q</i>|, and <span>\\(pq^i\\)</span> is periodic.</p></div>","PeriodicalId":7189,"journal":{"name":"Acta Informatica","volume":"62 3","pages":""},"PeriodicalIF":0.5000,"publicationDate":"2025-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Acta Informatica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00236-025-00494-y","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Let \(\Sigma \) be an alphabet of size at least 2, and let \(\textbf{Q}(\Sigma )\) denote the set of all primitive strings over \(\Sigma \). Let p and q be two distinct primitive strings over \(\Sigma \). In 1967, Lentin and Schützenberger proved that the language \(p^+q^+:= \{p^n q^m: m, n \in \mathbb {N} \setminus \{0\}\}\) contains at most one periodic string. Moreover, if \(p^n q^m\) is periodic, then either \(n = 1\) or \(m = 1\). They also showed that if \(pq^m\) is periodic, then
$$\begin{aligned} m \le \dfrac{2|p|}{|q|} + 3. \end{aligned}$$
The aim of this paper is to provide a complete characterization of all pairs of distinct primitive strings p and q such that \(pq^m\) is periodic. As a consequence, we show that if \(|p| >|q|\) and \(pq^m\) is periodic, and if t is the quotient of the integer division of|p| by|q|, then
$$\begin{aligned} m \le t + 2. \end{aligned}$$
Furthermore, if t and i are integers such that \(t \ge 2\) and \(1 \le i \le t + 2\), we show that there exist two primitive strings p and q with \(|p| >|q|\) such that t is the quotient of the integer division of|p| by|q|, and \(pq^i\) is periodic.
期刊介绍:
Acta Informatica provides international dissemination of articles on formal methods for the design and analysis of programs, computing systems and information structures, as well as related fields of Theoretical Computer Science such as Automata Theory, Logic in Computer Science, and Algorithmics.
Topics of interest include:
• semantics of programming languages
• models and modeling languages for concurrent, distributed, reactive and mobile systems
• models and modeling languages for timed, hybrid and probabilistic systems
• specification, program analysis and verification
• model checking and theorem proving
• modal, temporal, first- and higher-order logics, and their variants
• constraint logic, SAT/SMT-solving techniques
• theoretical aspects of databases, semi-structured data and finite model theory
• theoretical aspects of artificial intelligence, knowledge representation, description logic
• automata theory, formal languages, term and graph rewriting
• game-based models, synthesis
• type theory, typed calculi
• algebraic, coalgebraic and categorical methods
• formal aspects of performance, dependability and reliability analysis
• foundations of information and network security
• parallel, distributed and randomized algorithms
• design and analysis of algorithms
• foundations of network and communication protocols.