\displaystyle \mathop{E}[X] = P'(1) = \frac{m^k - 1}{m - 1}