Binomial Distribution
From Qwiki
Consider N independent trials of an experiment (like flipping a coin), where each trial produces one of two possible results --- we'll call them success and failure --- with some probability of success that does not change between trials. The Binomial distribution, and the related Bernoulli distribution, give the probability that some number n of those N trials are successes.
Let p be the probability of success, which implies 1 − p is the probability of failure. The probability of any particular sequence of trials containing n successes, and N − n failures, is simply pn(1 − p)N − n regardless of the order in which the successes occur. The number of distinct sequences of N trials containing n successes is given by the binomial coefficient

If we define γ as the ratio between the probability of success and the probability of failure,
, we can write
Substituting into the Binomial distribution, we find the Bernoulli distribution,


