Permutations and combinations in probability