Upper bound for the number of closed and privileged words
arXiv:1911.11197 · doi:10.1016/j.ipl.2020.105917
Abstract
A non-empty word is a border of the word if and is both a prefix and a suffix of . A word with the border is closed if has exactly two occurrences of . A word is privileged if or if contains a privileged border that appears exactly twice in . Peltomäki (2016) presented the following open problem: "Give a nontrivial upper bound for ", where denotes the number of privileged words of length . Let denote the number of closed words of length . Let be the size of the alphabet. We show that there is a positive real constant such that \[D(n)\leq c\ln{n}\frac{q^{n}}{\sqrt{n}}\mbox{, where }n>1\mbox{.}\] Privileged words are a subset of closed words, hence we show also an upper bound for the number of privileged words.