Let $G$ be an abelian group. Suppose $H$ is a subgroup. Then prove $H$ has index $p$ for some prime if and only if $H:=$ ker$\phi$ where $\phi$ is from $G$ onto $\Bbb{Z} / p \Bbb{Z}$.
For the backwards direction, supposing $H$ is the kernel of some onto group homomorphism
$$\phi:G \rightarrow \Bbb{Z} / p \Bbb{Z}$$
By the first isomorphism theorem we have that $G / H \cong$ im$\phi$ =$\Bbb{Z}/p \Bbb{Z}$ thus $G/H$ has order $p$ thus $H$ has index $p$ in $G$.
For the forwards direction, supposing $H$ has prime index we know that $G/H$ has order $p$. How do I show $H$ Is the kernel of some onto group homomorphism from $G$ onto $\Bbb{Z} / p \Bbb{Z}$? Also is my backwards direction ok?
$H$ is the kernel of the quotient map $\pi: G\to G/H$. Now $G/H$ is of order $p$ and thus it is isomorphic to $\mathbb{Z}/p\mathbb{Z}$. The isomorphism arises from any nontrivial $\mathbb{Z}\to G/H$ map (which is automatically onto because of the prime order) through the first isomorphism theorem. And so if $f:G/H\to \mathbb{Z}/p\mathbb{Z}$ is an isomorphism then $f\circ\pi$ is the map you are looking for.