Let $X$ be a random variable and $X \in\mathbb Z.$ Show that $$\varphi_X(2\pi k) = \operatorname E\left(e^{i2\pi kX}\right)=1 $$ for $k \in\mathbb Z$
I tried to expand the expected value by its definition but it didn't help. Can anyone give me any idea or hint about this proof? Thanks in advance.
Hint: $E[e^{i2\pi k X}] = E[\cos(2\pi k X) + i \sin (2\pi k X)]$.