The probability mass function of the geometric distribution is
for .
Parameter:
is the probability of success on each trial.