Question:
The MGF of the independent discrete random variable $X$ is given by $$M_X(t) = \left(\frac{1}{2}e^{2t} + \frac{1}{2}e^{4t}\right)^7$$
Find $p_X(15)$
I have been staring at this question for a couple of minutes and I don't know how to go about it. I have been trying to find some distribution that works with this MGF, but I can't find one!
I have the solution to the question if anyone is interested, but I don't understand it.
Solution:
We have $X = X_1 + . . . + X_7,$ where $P[X_i = 2] = P[X_i = 4] = \frac{1}{2}$.
We have $p_X(15) = 0$, since $X$ can take only even values.
Note that if you have $n$ i.i.d random variables, and $X=X_1+\cdots X_n$, then the M.G.F of $X$ is the product of the M.G.F of the $X_i's$. Since your M.G.F has an exponent of $7$, a good starting guess is that you can "break" your r.v. as a sum of $7$ i.i.d rvs. (That's what your solution has done).
For the solution to be complete, you just need to show that the guess indeed is correct, i.e. is $(\dfrac{1}{2}e^{2t}+\dfrac{1}{2}e^{4t})$ is an M.G.F of some r.v?
The solution again gives you a r.v. for which this is indeed the M.G.F.
The rest is also easy. The r.v. only takes even values, and so the sum of these r.v.s can only take even values. Hence the probability of getting $15$ is $0$