The conversation between human and AI assistant.
Permutations and Combinations: In how many ways can we divide n distinct objects into r distinct groups of equal or unequal sizes having at least 1 object each?
I see. So which formula should we use if we want to divide n distinct objects into r distinct groups of equal or unequal sizes?
To divide n distinct objects into r distinct groups of equal sizes, we can use the formula for combinations which is nCr = n! / r!(n-r)!. To divide them into unequal groups, we will have to use a different formula.