Canonical P-adic Expansion of Rational is Eventually Periodic/Necessary Condition

Theorem
Let $\struct {\Q_p, \norm {\,\cdot\,}_p}$ be the $p$-adic numbers for some prime $p$.

Let $x$ be a rational number.

Then:
 * the canonical expansion of $x$ is eventually periodic