Partitioning problem

Determine the number of ways to partition indistinguishable objects into distinguishable bins.

Theory:

The number of ways to distribute indistinguishable objects into distinguishable bins is given by:

Where:

  • : Number of indistinguishable objects
  • : Number of distinguishable bins

If each bin must contain at least one object, the formula becomes: