The number of distinct subpalindromes in random words

From MaRDI portal
Publication:4976404




Abstract: We prove that a random word of length n over a k-ary fixed alphabet contains, on expectation, Theta(sqrtn) distinct palindromic factors. We study this number of factors, E(n,k), in detail, showing that the limit limnoinftyE(n,k)/sqrtn does not exist for any kge2, liminfnoinftyE(n,k)/sqrtn=Theta(1), and limsupnoinftyE(n,k)/sqrtn=Theta(sqrtk). 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 page was built for publication: The number of distinct subpalindromes in random words

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4976404)