A course is divided into $n$ classes. There are exactly $r$ students enrolled in the course. Assume that each student chooses a class at random and that the capacity of each of the classes is unlimited.
(a) Assume that there is only one class on Friday. What is the probability that there will be exactly k students in this Friday class ?
(b) What is the probability that there will be at least one student in each of the classes?
For a, it's a binomial distribution so the answer is $\binom{ r }{ k }$ ${(1- {1 \over n})}^{r-k}{({1 \over n})}^{k} $
For b, the answer is $$\sum_{k=0}^{n-1} (-1)^{k} \binom{ n }{ k } {({ n-k \over n})}^{r} $$ (for r $\ge$ n)
Shouldn't it be something like ${1 - \binom{ r }{ 0 } {(1- {1 \over n})}^{r-0}} {({1 \over n})}^{0}$ = ${1 - {(1- {1 \over n})}^{r}}$ for the probability that there will be at least 1 student in each of the classes = 1 - the probability of there will be no students in each of the classes? Can someone help me explain the answer for b?