Counting Distinct Group Combinations

  • Context: Undergrad 
  • Thread starter Thread starter Gridvvk
  • Start date Start date
  • Tags Tags
    Combinatorics Group
Click For Summary

Discussion Overview

The discussion revolves around the problem of counting distinct ways to divide a group of 22 people into 5 groups, specifically 3 groups of 4 and 2 groups of 5. Participants explore the combinatorial aspects of the problem, focusing on how to avoid double counting groups and the appropriate use of combinations versus permutations.

Discussion Character

  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes using the formula [(22 choose 4)(18 choose 4)(14 choose 4)(10 choose 5)(5 choose 5)] to calculate the number of ways to form the groups, but is unsure about the necessary divisor to avoid double counting.
  • Another participant suggests ordering the groups and the individuals within them, leading to a total of 22! permutations, and notes that if the order of the groups matters, a further division by 3! and 2! may be required.
  • A participant clarifies that they are interested in combinations, not permutations, and emphasizes that the inner ordering is accounted for by the combination formula, suggesting a division by 3! and 2! based on the number of groups.
  • There is a reiteration of the combination approach, with a participant expressing that they arrive at the same answer using a different expression that simplifies the calculation.
  • Another participant acknowledges the simplification of the computation based on the previous contributions.

Areas of Agreement / Disagreement

Participants express differing views on whether to treat the order of groups as significant, leading to some contention regarding the appropriate divisor for double counting. The discussion does not reach a consensus on the final method for calculating the distinct group combinations.

Contextual Notes

There are unresolved aspects regarding the treatment of group order and the implications for the counting method, as well as the potential for simplification in the expressions used.

Gridvvk
Messages
54
Reaction score
1
Let's say you have a group of 22 people, which you would like to break into 5 different groups -- 3 groups of 4 and 2 groups of 5. How many distinct ways can you form such groups?

I don't want to double count groups. Let's say I number the people from A - V. The group ABCDE and ACDBE should be considered the same group since they have the same elements.

I imagine the numerator is
[(22 choose 4)(18 choose 4)(14 choose 4)(10 choose 5)(5 choose 5) ]

I'm not sure what to divide by to get rid of counting extras.
 
Physics news on Phys.org
Order the 5 bins, and order each position in each bin; there are then clearly 22! permutations. The items in the first 3 bins can be ordered 4! different ways and the items in the last 2 bins can be ordered 5! different ways, so there are a total of 4!4!4!5!5! orderings within bins.

It is not clear whether {ABCD, EFGH, ...} and {EFGH, ABCD, ...} are to be considered the same: if so, you need to reduce further by a factor of 3!2!.
 
Last edited:
Observe that the familiar forumula for combinations ## \frac{n!}{k!(n-k)!} ## is derived in the same way where there are n objects and 2 bins containing k and n-k objects respectively, but when we use this we are not generally interested in the contents of the second bin.
 
Thank you. I wanted combinations not permutations though. So my first term would be [(22 choose 4)(18 choose 4)(14 choose 4)(10 choose 5)(5 choose 5) ]. If I understand correctly, then the inner ordering within the groups is already taken care of by the combination formula (dividing by k!). I did want to consider {ABCD, EFGH, ...} and {EFGH, ABCD, ...} to be the same, so I would divide by a factor of 3! 2! because I have 3 groups of size 4 and 2 groups of size 5. The 3! and 2! term are coming from the number of groups, not the sizes.

So the question:
How many ways to divide group of 22 people into 3 groups of 4 people and 2 groups of 5 people?

has the answer:
[(22 choose 4)(18 choose 4)(14 choose 4)(10 choose 5)(5 choose 5) ] / (3! * 2!) =
470531961900.
 
Gridvvk said:
Thank you. I wanted combinations not permutations though. So my first term would be [(22 choose 4)(18 choose 4)(14 choose 4)(10 choose 5)(5 choose 5) ]. If I understand correctly, then the inner ordering within the groups is already taken care of by the combination formula (dividing by k!). I did want to consider {ABCD, EFGH, ...} and {EFGH, ABCD, ...} to be the same, so I would divide by a factor of 3! 2! because I have 3 groups of size 4 and 2 groups of size 5. The 3! and 2! term are coming from the number of groups, not the sizes.

So the question:
How many ways to divide group of 22 people into 3 groups of 4 people and 2 groups of 5 people?

has the answer:
[(22 choose 4)(18 choose 4)(14 choose 4)(10 choose 5)(5 choose 5) ] / (3! * 2!) =
470531961900.

I have given you combinations, we get the same answer.

Note that a number of terms can be canceled from the expression you gave to arrive at the expression I gave: [tex]\frac{22!}{4!18!}.\frac{18!}{4!14!}.\frac{14!}{4!10!}.\frac{10!}{5!5!}.\frac{5!}{5!0!}.\frac{1}{3!2!} = \frac{22!}{4!^35!^2}.\frac{1}{3!2!}[/tex]
 
  • Like
Likes   Reactions: 1 person
Right, that eases the computation. Thanks a lot for the help!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K