A 6-sided fair die has the numbers 1, 2, 3, 4, 5, 6 on its faces. The die is thrown times, the outcome (the number on the top face) of each throw being independent of the outcome of any other throw. The random variable is the sum of the outcomes.
- The random variable is the remainder when is divided by 6. Write down the probability generating function, , of and show that the probability generating function of is also . Use a generating function to find the probability that is divisible by 6.
The random variable is the remainder when is divided by 5. Write down the probability generating function, , of and show that , the probability generating function of , is given by
where .
Obtain the probability generating function of and hence show that the probability that is divisible by 5 is
if is not divisible by 5. What is the corresponding probability if is divisible by 5?