max run length in n Bernoulli trials
max run length in n Bernoulli trials

Calculate the probability that the length of the longest run of
successes in n Bernoulli trials is > k.

mzivi/Libra,mzivi/Libra