rootmeister64
New member
- Joined
- Nov 7, 2020
- Messages
- 10
In one lecture, there are 20 students S1, S2, ..., S20. How many possibilities are there to form an exercise group (of any size) that includes at least one of the following students: S1, S2, S3?
I came up with the following solution:
We have 20 students, and each student can be in a group or not (1 or 0).
Each group must have at least one student from this set {S1, S2, S3}. Therefore we have (23 - 1) possibilities for the first three students ( -1 because there is also the possibility that none of the students are in the group {0, 0, 0}). The remaining students don't matter, thus we have 217 possibilities.
Therefore we can build (23 - 1) * 217 groups.
Is the solution that came up with correct? Are there other ways to solve this problem?
Thank you very much!
I came up with the following solution:
We have 20 students, and each student can be in a group or not (1 or 0).
Each group must have at least one student from this set {S1, S2, S3}. Therefore we have (23 - 1) possibilities for the first three students ( -1 because there is also the possibility that none of the students are in the group {0, 0, 0}). The remaining students don't matter, thus we have 217 possibilities.
Therefore we can build (23 - 1) * 217 groups.
Is the solution that came up with correct? Are there other ways to solve this problem?
Thank you very much!