Let $X$ be a real random variable and $\phi$ its characteristic function. Show that there exist real $a,b$ such that $P\left(X \in a+b\mathbb{Z} \right) = 1$ if and only if there exists a nonzero $x$ such that $\left|\phi(x)\right| = 1$.
Any ideas or hints would be appreciated. Thanks.