Assume $G$ is generated by $a$, so $G = \langle a\rangle$. Since $G$ is infinite for all $m \in \mathbb{Z}$, $a^m \neq e$.
Suppose $a^h = a^k$ then $a^h\cdot a^{-k} = a^{h-k} = e$, but this is a contradiction.
$\rightarrow$ that if $h \neq k$ then $a^h \neq a^k$ where $h,k \in \mathbb{Z}$ and $a^h,a^k \in G$.
Now if we have the map $\phi : G \rightarrow \mathbb{Z}$ with $\phi(a^i) = i$ we want to show this is an isomorphism.
Homomorphism: $\phi(a^ia^j) = \phi(a^{i+j}) = i + j = \phi(a^i) + \phi(a^j)$.
One-to-One: Suppose $\phi(a^i) = \phi(a^j)$ then $i = j \rightarrow a^i = a^j$.
Question: How can I show this is onto?
I want to say if $b \in \mathbb{Z}$, then $a^b$ is an element in $G$.