An event independently occurs on each day with probability $p$. Let $N(n)$ denote the total number of events that occur on the first $n$ days, and let $T_{r}$ denote the day on which the $r$ th event occurs.
(a) What is the distribution of $N(n) ?$
(b) What is the distribution of $T_{1} ?$
(c) What is the distribution of $T_{r} ?$
(d) Given that $N(n)=r$, show that the unordered set of $r$ days on which events occurred has the same distribution as a random selection (without replacement) of $r$ of the values $1,2, \ldots, n$.