I'm having trouble on deciding when it's appropriate to use the stars and bars method for enumeration. For example, the following question:
Suppose each student in a 50-student class selects a number 1 through 10 with uniform probability, that is each number 1 − 10 is equally likely to be chosen by each student. What is the probability that exactly 6 students choose 1?
Would stars and bars be a valid approach here?