There are one or more Bernoulli trials with all failures except the last one, which is a success. In other words, you keep repeating what you are doing until the first success. In theory, the number of trials could go on forever. There must be at least one trial. The probability, p, of a success and the probability, q, of a failure is the same for each trial. p + q \= 1 and q \= 1 − p.