The question is:
How many combinations of numbers can you make with the following numbers: 2, 2, 5, 5, 3
My only way of solving it was to write out every combination:
1 number combinations (select 1 number from the group w/o replacement): 2, 3, or 5
2 number combinations (select 2 numbers from the group w/o replacement): 2-2, 2-3, 2-5, 5-5, or 5-3
3 number combinations (select 3 numbers from the group w/o replacement): 2-2-5, 2-2-3, 2-5-5, 2-5-3, or 5-5-3
4 number combinations (select 4 numbers from the group w/o replacement): 2-2-5-5, 2-2-5-3, or 2-5-5-3
5 number combinations (select 5 numbers from the group w/o replacement): 2-2-5-5-3
That adds up to a total of 17 unique combinations. There's got to be a faster way, with less room for error, to do that. Any ideas?
How many combinations of numbers can you make with the following numbers: 2, 2, 5, 5, 3
My only way of solving it was to write out every combination:
1 number combinations (select 1 number from the group w/o replacement): 2, 3, or 5
2 number combinations (select 2 numbers from the group w/o replacement): 2-2, 2-3, 2-5, 5-5, or 5-3
3 number combinations (select 3 numbers from the group w/o replacement): 2-2-5, 2-2-3, 2-5-5, 2-5-3, or 5-5-3
4 number combinations (select 4 numbers from the group w/o replacement): 2-2-5-5, 2-2-5-3, or 2-5-5-3
5 number combinations (select 5 numbers from the group w/o replacement): 2-2-5-5-3
That adds up to a total of 17 unique combinations. There's got to be a faster way, with less room for error, to do that. Any ideas?