If you need to find then isn't it just ?
Let X~Bin(n,p) be binomially distributed and define function f:R -->R by:
a --> E(exp(aX)) . (E is the expectation)
Find an explicit formula for f(a).
Any hints on how to start this one? I have no idea what is going on.