I am trying to find all homomorphisms from $\mathbb{Z}_{20}$ to $\mathbb{Z}_8$. I understand how to do it - one completely determines any homomorphism, say $\phi$, by computing multiples of $\phi(1)$ or more generally $\phi(g)$ where $g$ generates $\mathbb{Z}_{20}$. Call $\phi_i$ the mapping taking $1$ to $i$ in $\mathbb{Z}_8$. I don’t know how else to determine whether each $\phi_i$ is a homomorphism besides going through the painstaking process of calculating each $\phi_i(x+y)$ and comparing it to $\phi_i(x)+\phi_i(y)$.
Is there a way to easily rule out certain $\phi_i$s?
Any help would be greatly appreciated.
You are correct about looking at $\phi(1)$: since $1$ generates the domain (i.e. $\mathbb Z_{20}$), you can just look at where $1$ gets sent under the homomorphism. The only other thing you need to check is that the homomorphism preserves the relations. There is one relation in $\mathbb Z_{20}$, namely $20=0$. So $\phi$ better send $20$ to $0$ in $\mathbb Z_8$ (i.e. a multiple of $8$). For example, if you have a map which sends $1$ to $3$, then this would send $20$ to $60$, which would mean it's not a homomorphism (since $60$ is not $0$ in $\mathbb Z_8$).
The real reason behind this is the universal property of quotients. Basically you're looking at group homomorphisms $\mathbb Z\to\mathbb Z_8$ (which are completely determined by where $1$ is sent, and you can send $1$ anywhere) and then asking that the kernel contains the ideal $20\mathbb Z\subseteq\mathbb Z$ so that it factors as a map $\mathbb Z_{20}\to\mathbb Z_8$.