The binomial distribution is a discrete probability distribution of a number of successes in a sequence of independent experiment, each with a boolean outcome of true (with probability ) and false. It is often written as following:

Probability Mass Function

Suppose we have independent, binary trials, with at every trail, and is fixed. The chance that exactly events occur is

where is the binomial coefficient.