I am trying to calculate the probability that I'll have a sequence of length $L$ in a random subset of $[n]$ when the subset size is $k$.
For example, if $n=5$, $k=4$ and $L=2$ I'll have the following subsets:
$$\{2,3,4,5\}, \{1,3,4,5\}, \{1,2,4,5\}, \{1,2,3,5\}, \{1,2,3,4\}$$
Thus the answer will be $1/5$ because there is only one subset that have $L=2$ sequence or for $L=3$ the answer will be $2/5$ etc.