I know that for finite groups $G$ and $H$ and $f: G \to H$ homomorphism, for every $x \in G$:
$$ o(f(x))\mid o(x), $$
where $o(x)$ is the order of $x$.
If I consider $G,H$ cyclic, such as $G = {\mathbb Z_{30}}$ and $H = {\mathbb Z}_{50}$, further knowing that $1$ is a generator of ${\mathbb Z}_{30}$ and that it therefore must satisfy that $f(1)$ is generator of ${\mathbb Z}_{50}$, I get that
$$ |H| = o(f(1)) \mid o(1) = |G|, $$
ie. $50 \mid 30$.
What's wrong? Either the deduction is wrong, or the result is to be understood in a special way.