- #1
Crazorin
- 4
- 0
[mentor note: THis is not a homework assignment. It is for a work project.]
I need a formula that is probably based on permutations of multi-set. Except in my case you will not use up all elements of the sets, only some of them.
For example I have the following sets: {1,1,1}{2}{3};
Altogether 5 elements and I need to find out how many 3 digit numbers can be created. So I would use only 3 of the 5 elements.
Or the sets could be {1,1}{2,2,2}{3}; 6 elements to create 4 digit number.
I need a formula that is probably based on permutations of multi-set. Except in my case you will not use up all elements of the sets, only some of them.
For example I have the following sets: {1,1,1}{2}{3};
Altogether 5 elements and I need to find out how many 3 digit numbers can be created. So I would use only 3 of the 5 elements.
Or the sets could be {1,1}{2,2,2}{3}; 6 elements to create 4 digit number.
Last edited by a moderator: