Suppose $\ X_i \sim Unif (0,m), \ m = 2,3 ,... $
What will be the moment generating function of this distribution?
$$\ E[e^{Xt}] = \sum_{i=0}^m i \cdot e^{ti} \cdot \frac{1}{1+m} = \frac{1}{1+m} \cdot \sum_{i=0}^m e^{ti} \cdot i$$
I couldn't find a way to proceed from here? found this answer Moment Generating Function for a discrete random distribution but why do they ignore the possible values of $\ i $ as it is uniform and can get any value between $\ 0,m $