the random value
the probability of success, must be in (0,1)
the number of trials, must be greater than 0