Let $A$ be any $\Bbb{Z}$-module, let $a$ be any element of $A$ and let $n\in \Bbb{Z}^+$. Prove that the map $\psi_a\colon\Bbb{Z/nZ}\to A$ given by $\psi_a(\overline{k})=ka$ is a well-defined $\Bbb{Z}$-module homomorphism if and only if $na=0$.
Then, prove that $\text{Hom}_\Bbb{Z}(\Bbb{Z}/n\Bbb{Z},A)\cong A_n$, where $A_n=\{a\in A: na=0\}$.
I am struggling to find a map so that i can prove the isomorphism between $\text{Hom}_\Bbb{Z}(\Bbb{Z}/n\Bbb{Z},A)$ and $A_n$.
Define a map $f:\text{Hom}_\Bbb{Z}(\Bbb{Z/nZ},A)\to A_n$ by $(\psi_a(\overline{k})\mapsto ka)\mapsto a$.
$f$ is a $\Bbb{Z}$-module homomorphism:
$f(r\psi_a)=ra=rf(\psi_a).$
$f$ is injective: \begin{align}f(\psi_a)=f(\psi_b)\Rightarrow a=b, ka=kb\Rightarrow \psi_a=\psi_b.\end{align}
$f$ is surjective: For any $a\in A_n$, $\psi_a$ is a homomorphism in $\text{Hom}_\Bbb{Z}(\Bbb{Z/nZ},A)$. Therefore $f(\psi_a)=a$.