A word~ has a border if is a non-empty proper prefix and suffix of . A word~ is said to be \emph{closed} if is of length at most or if has a border that occurs exactly twice in . A word~ is said to be \emph{privileged} if is of length at most or if has a privileged border that occurs exactly twice in . Let (resp.~) be the number of length- closed (resp. privileged) words over a -letter alphabet. In this paper, we improve existing upper and lower bounds on and . We completely resolve the asymptotic behaviour of . We also nearly completely resolve the asymptotic behaviour of by giving a family of upper and lower bounds that are separated by a factor that grows arbitrarily slowly.

生成讲解博客的中文版本

生成AI智能校验的中文版本