On the waiting time till some patterns occur in i.i.d. sequences
Urszula Ostaszewska, Krzysztof Zajkowski · arXiv (Cornell University) · 2013
In this paper we present some general solution of the system of linear equations formed by Guibas and Odlyzko in Th.3.3 \cite{Gui}. We derive probabilities for given patterns to be first to appear in random text and the expected waiting time till one of them is observed and also till one of them occurs given it is known which pattern appears first.