Abstract
If the length of a primitive word \(p\) is equal to the length of another primitive word \(q\), then \(p^{n}q^{m}\) is a primitive word for any \(n,m\ge 1\) and \((n,m)\ne (1,1)\). This was obtained separately by Tetsuo Moriya in 2008 and Shyr and Yu in 1994. In this paper, we prove that if the length of \(p\) is divisible by the length of \(q\) and the length of \(p\) is less than or equal to \(m\) times the length of \(q\), then \(p^{n}q^{m}\) is a primitive word for any \(n,m\ge 1\) and \((n,m)\ne (1,1)\). Then we show that if \(uv,u\) are non-primitive words and the length of \(u\) is divisible by the length \(v\) or one of the length of \(u\) and \(uv\) is odd for any two nonempty words \(u\) and \(v\), then \(u\) is a power of \(v\).
Similar content being viewed by others
References
Cao, C.H., Yang, D., Liu, Y.: Disjunctive languages related to \(p-\)primitive words, 49, 437–444 (2012).
Dömösi, P., Horváth, S., Ito, M.: Formal languages and primitive words. Publ. Math. Debr. 42, 315–321 (1993)
Dömösi, P., Horváth, S., Ito, M., Kászonyi, L., Katsura, M.: Some combinatorial properties of words, and the Chomsky-hierarchy. In: Ito, M. (ed.) Words, Languages and Combinatorics II. Proceedings of the 2nd International Conference, Kyoto, Japan, August 25–28, 1992, pp. 105–123. World Scientific, Singapore (1994)
Dömösi, P., Horváth, S., Ito, M., Kászonyi, L., Katsura, M.: Formal languages consisting of primitive words. LNCS 710, 194–203 (1993)
Fan, C.M., Huang, C.C.: A note of prefix primitive words. Acta Inform. 47, 413–423 (2010)
Hsiao, H.K., Yeh, Y.T., Yu, S.S.: A note of ins-primitive words. Int. J. Comput. Math. 81, 917–929 (2004)
Ito, M., Schützenberger, M.P.: On an application of semigroup methods to some problems in coding. IRE Transactions on Information Theory, IT-2, pp. 47–60 (1956)
Ito, M., Lischke, G.: Generalized periodicity and primitivity for words. Math. Log. Quart. 53, 91–106 (2007)
Lischke, G.: The primitivity distance of words. In: Ito, M., Kobayashi, Y., Shoji, K. (eds.) Automata, Formal Languages and Algebraic Systems, pp. 125–137. World Scientific, Singapore (2010)
Lischke, G.: Primitive words and roots of words. Acta Universitatis Sapientiae, Informatica 3(1), 5–34 (2011)
Lyndon, G., Schützenberger, M.P.: On the equation \(a^M=b^Nc^P\) in a free group. Mich. Math. J. 9, 289–298 (1962)
Li, Z.Z., Tasi, Y.S.: Some properties of the disjunctive languages contained in \(Q\). Acta Inform. 48, 1–18 (2011)
Lothaire, M.: Combinatorics on Words. Cambridge University Press, Cambridge (1997)
Moriya, T.: Some results on primitive words, square-free words, and disjunctive languages. IEICE Trans. Inf. Syst., E91.D, 2514–2516 (2008).
Păun, G., Son, N.: On the robnstness of primitive words. Discret. Appl. Math. 117, 239–252 (2002)
Shyr, H.J.: Free Monoids and Languages, 3rd edn. Hon Min Book Company, Taichung (2001)
Shyr, H.J.: Some properties of disjunctive languages on a free monoid. Inf. Control 37, 334–344 (1978)
Shyr, H.J., Thierrin, G.: Disjunctive languages and codes. In: Fundamentals of Computation Theory, Proceedings of the 1977 Inter. FCT-Conference, Poznan, Poland, Lecture Notes in Computer Science No.56 Springer, pp. 171–176 (1977).
Shyr, H.J., Tsai, Y.S.: Free submonoids in the monoid of languages. Discret. Math. 181, 213–222 (1998)
Shyr, H.J., Yu, S.S.: Non-primitive words in the language \(p^+q^+\). Soochow J. Math. 20, 535–546 (1994)
Yu, S.S.: Languages and Codes. Tsang Hai Book Publishing Co., Taichung (2005)
Zhao, C.K.: A characterization of prefix n-power words. J. Discret. Math. Sci. Cryptogr. 9, 165–176 (2006)
Acknowledgments
The authors would like to give great thanks to Professor Richard Botting for his some advice and carefully checking English, who is in School of Computer and Engineering California State University San Bernardino. We also give our great thanks to the referees for their careful reading manuscript and useful suggestion.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work is supported by National Natural Science Foundation of China # 11261066 and Foundation for the Forth Yunnan University Key Teacher # XT412003.
Rights and permissions
About this article
Cite this article
Chunhua, C., Shuang, Y. & Di, Y. Some kinds of primitive and non-primitive words. Acta Informatica 51, 339–346 (2014). https://doi.org/10.1007/s00236-014-0200-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00236-014-0200-3