arXiv · 1509.05240
Periods and borders of random words
Abstract
We investigate the behavior of the periods and border lengths of random words over a fixed alphabet. We show that the asymptotic probability that a random word has a given maximal border length $k$ is a constant, depending only on $k$ and the alphabet size $\ell$. We give a recurrence that allows us to determine these constants with any required precision. This also allows us to evaluate the expected period of a random word. For the binary case, the expected period is asymptotically about $n-1.641$. We also give explicit formulas for the probability that a random word is unbordered or has maximum border length one.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Štěpán Holub, Jeffrey Shallit. 2015-09-17. Periods and borders of random words. https://doi.org/10.4230/lipics.stacs.2016.44
Cite the original work for its findings. Save a collection to share your selection of sources.