Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

$\dbinom{n+r−1}{r−1}$ is the answer for the distribution of $n$ identical objects among $r$ persons. Not for the groups, because groups are considered as identical it do not have name. Ex. two identical balls can to be distributed among two persons $[(2,0)(0,2)(1,1)]$ in three ways. But when we go for groups $(2,0)$ and $(0,2)$ considered as the same, so now the answer will be only two.

What will be the formula if we want to remove the same groups ex. in the above example if we want $(2,0)$ and $(0,2)$ to be considered same and want the answer $2$ so what will be the formula in that case?

share|cite|improve this question

There are the partitions of $n$ into $r$ or fewer parts.

There is no pleasant "closed form" formula.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.