So this is a way to figure out the valid combinations / permutations of a set. statistics

Sometimes also “n choose r” or nCr.

The formula:

The probability of exactly k successes is binomial distribution or binomial probability.