I have a problem where I am trying to determine all the possible ways that exactly 100%, no more no less, can be allocated across n number of objects (assuming each allocated portion is a whole number integer).
Example, if there are 3 objects over which to allocate the 100%, (ie, in one case, object 1 has 20%, object 2 has 30%, and object 3 has 50%), what are all the possible cases where each object is allocated a value between 0 and 100 (values can be repeated and order of values matter) and the combined values total to 100% exactly.
I thought combination or permutation formula but doesn't seem to be the right application. Is there a good way to determine all the possible cases? Thanks.