Binomial distribution

If black squares appear independently with probability p then the probability that m squares out of n are black is Binomial[n, m] p^{m} (1 - p)^{n - m}.

Binomial distribution

If black squares appear independently with probability p then the probability that m squares out of n are black is Binomial[n, m] p^{m} (1 - p)^{n - m}.

From Stephen Wolfram: *A New Kind of Science* [citation]