Skip to main content
1 of 2

Probability of sub-sequence of exact length to occur

Let's suppose that I have a sequence of length $L$ of uniformly distributed random numbers on interval $(a,b)$. How can I calculate probability that sub-sequence of length $M,M <L, $ will occur?