pith. sign in

arxiv: 1505.08043 · v1 · pith:C7JZ7K77new · submitted 2015-05-29 · 🧮 math.CO · cs.FL

The Number of Distinct Subpalindromes in Random Words

classification 🧮 math.CO cs.FL
keywords sqrtnumberrandomfactorsinftythetawordsdistinct
0
0 comments X
read the original abstract

We prove that a random word of length $n$ over a $k$-ary fixed alphabet contains, on expectation, $\Theta(\sqrt{n})$ distinct palindromic factors. We study this number of factors, $E(n,k)$, in detail, showing that the limit $\lim_{n\to\infty}E(n,k)/\sqrt{n}$ does not exist for any $k\ge2$, $\liminf_{n\to\infty}E(n,k)/\sqrt{n}=\Theta(1)$, and $\limsup_{n\to\infty}E(n,k)/\sqrt{n}=\Theta(\sqrt{k})$. Such a complicated behaviour stems from the asymmetry between the palindromes of even and odd length. We show that a similar, but much simpler, result on the expected number of squares in random words holds. We also provide some experimental data on the number of palindromic factors in random words.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.