Suppose a discrete random variable X has the following probability mass function
fX(x) = (1 − γ)γx, x = 0, 1, 2, 3...where γ is a fixed parameter and 0 < γ < 1.
Find: (a) the mgf of X; (b) the mean and the variance.