Pseudoperiodic Words and a Question of Shevelev
Joseph Meleshko, Pascal Ochem, Jeffrey Shallit, Sonja Linghui Shan
TL;DR
This work extends periodicity to $k$-pseudoperiodicity and develops a Walnut-based, automatic-sequence framework to study pseudoperiodicity across multiple famous sequences, including the Thue-Morse word. It provides complete solutions to several of Shevelev's problems, characterizes pseudoperiod triples via large automata, and derives both binary and larger-alphabet results on critical exponents and morphic constructions. The paper also establishes the NP-completeness of deciding the existence of a bounded-size pseudoperiod, highlighting computational hardness in the problem space. Through detailed case studies of Mephisto Waltz, (ternary) Thue-Morse, period-doubling, Rudin–Shapiro, Tribonacci, and paperfolding sequences, the work connects combinatorics on words with automated reasoning and offers new conjectures and directions for future research.
Abstract
We generalize the familiar notion of periodicity in sequences to a new kind of pseudoperiodicity, and we prove some basic results about it. We revisit the results of a 2012 paper of Shevelev and reprove his results in a simpler and more unified manner, and provide a complete answer to one of his previously unresolved questions. We consider finding words with specific pseudoperiod and having the smallest possible critical exponent. Finally, we consider the problem of determining whether a finite word is pseudoperiodic of a given size, and show that it is NP-complete.
