Combinations can be calculated using the formula C(n,r) = n!/(r!(n-r)!)