I'm having some trouble with the following problem, and to be frank, I'm not sure where to begin.

For the discrete random variable with probability mass function

$\displaystyle p_{X}(x)=\frac{a(x)\theta^x}{c(\theta)}I[x\in\{0,1,2,3...\}]$

$\displaystyle a(x)\geq(0); c(\theta)>0$

Find the moment generating function and the probability generating function.

I have a feeling I need to write out the terms and use properties of derivatives as they relate to convergent series to get this answer, but I'm not entirely sure.

Some pointers in the right direction would be much appreciated. Thank you.