Calculate the probability of getting the first success on the k-th trial in a sequence of independent Bernoulli trials.