I want divide N distinct things among R persons such that the difference between the maximal and the minimal number of things a person receives is less than two.
It is not necessary that N % R = 0.
Can someone please find out formula, in terms of N & R, for this question.
I want divide N distinct things among R persons such that the difference between the maximal and the minimal number of things a person receives is less than two.
It is not necessary that N % R = 0.
Can someone please find out formula, in terms of N & R, for this question.