Calculates the total number of combinations including repetitions for a specified set of items.
Calculates the total number of ways to choose a subset from a larger set of items.
Determines the number of ways to select a specified number of items from a collection, allowing repetitions of the same item.