Usually for N outcomes, we assume that each one is equally likely (ex: fair coin, dice, etc.). With p=P(Ei) for each i∈{1,...,N}:
Now instead if we have an event A with N(A) denoting the number of outcomes contained in A, then: