How would I find all the ring morphisms from $\mathbb{Z}_7$ to $\mathbb{Z}_4$? I know that if the map function is $f(x)$, we must have that $f(1) = 1$ and that $f(a \cdot b) = f(a) \cdot f(b)$, as well as $f(a + b) = f(a) + f(b)$.
In other such questions, I understand that if it's from say $\mathbb{Z}_{15}$ to $\mathbb{Z}_3$ then it's much easier since 15's a multiple of 3.
However, I'm not sure how to find the morphisms if their relatively prime numbers.