Any idea on how to solve this challenging problem?

Revision en1, by 123gjweq2, 2024-07-29 07:19:05

You are given an integer $$$n$$$. Let $$$S$$$ be the set of all strings of length $$$n$$$ that contain only lowercase Latin characters. So $$$S$$$ will have $$$26^n$$$ elements.

You pick a random string $$$s$$$ from set $$$S$$$, then you pick a random index $$$i$$$ from the range $$$[2, n]$$$. What is the expected value of $$$z_i$$$, where $$$z_i$$$ is the value of the $$$Z$$$-function of $$$s$$$ at index $$$i$$$?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 123gjweq2 2024-07-29 07:19:05 414 Initial revision (published)