Suppose that a fair coin is tossed repeatedly and let N be the number of tosses until the rst heads is obtained.
(a) Find the probability mass function of N.
(b) Calculate the probability that N is greater than 2.
(c) Calculate the mean and the variance of N.
(d) Find the moment generating function of N.