Problem: Find all group of order $20$ that are a semidirect product of a cyclic group of order $4$ by a cyclic group of order $5$.
My attempt: We knew that a cyclic group of order $n$ is isomorphic to $\mathbb{Z}_n$, so we have $C_4 \cong \mathbb{Z}_4$, $C_5 \cong \mathbb{Z}_5$ and $|C_4| = |\mathbb{Z}_4| = 4$, $|C_5| = |\mathbb{Z}_5| = 5$. Then we find a semidirect product of $\mathbb{Z}_4$ by $\mathbb{Z}_5$. To find this, we define an automorphism $\theta \colon \mathbb{Z}_5 \rightarrow \mathrm{Aut}(\mathbb{Z}_4)$, while $\mathrm{Aut}(\mathbb{Z}_n) = \{\sigma_k \mid k \in \mathbb{Z}, (k,n) = 1\}$, so $\mathrm{Aut}(\mathbb{Z}_4) = \{\sigma_1, \sigma_3\}$ and $|\mathrm{Aut}(\mathbb{Z}_4)| = 2$.
My professor told that there is only the trivial homomorphism $\mathbb{Z}_5 \rightarrow \mathrm{Aut}(\mathbb{Z}_4)$ since $(5,2) = 1$.
So my question:
Why from $(5,2) = 1$ can we conclude that there is only one trivial homomorphism, and for the trivial homomorphism, how do I define it?
Let $f:\Bbb Z_5 \to \text{Aut}(\Bbb Z_4) \sim \Bbb Z_2$ be a homomorphism with $f(1)=a$. Now order of $f(1)$ divides both $5$ and $2$. But their gcd is one, so $a$ must be identity and hence $f$ is trivial!