jenocean74
New member
- Joined
- Mar 3, 2009
- Messages
- 3
I need to calculate the number of grouping combinations possible from a set. For example, starting with a set of three elements I can create:
One group of one: XXX
One group of two: XX X or X XX (the same; order does not matter)
One group of three: X X X
= A total of 3 possibilities
For a set of four elements:
One group of one: XXXX
Two groups of twos: XX XX and X XXX (again, order does not matter; X XXX is the equivalent to XXX X)
One group of three: XX X X
One group of four: X X X X
= A total of 5 possibilities.
Is there a general solution to this problem such that I can calculate a value for larger data sets (i.e. n=100)?
Many, many thanks!
Jennifer
One group of one: XXX
One group of two: XX X or X XX (the same; order does not matter)
One group of three: X X X
= A total of 3 possibilities
For a set of four elements:
One group of one: XXXX
Two groups of twos: XX XX and X XXX (again, order does not matter; X XXX is the equivalent to XXX X)
One group of three: XX X X
One group of four: X X X X
= A total of 5 possibilities.
Is there a general solution to this problem such that I can calculate a value for larger data sets (i.e. n=100)?
Many, many thanks!
Jennifer