Let $f$: $Z_m \rightarrow G$, $f(n)$ = $a^n$. Show that f is a function and an homomorphism.
Doing a review on the whole semester, and a little refresh on this topic would be great.
By definition I know $G$ has the same order of $Z_m$, but not sure how to attack this problem with ease.
I also know that cyclic groups of the same order are isomorphic.
(I cannot use the fact that cyclic groups of the same order are isomorphic, that's why I ask for another approach, because I can't use theorems or lemmas that have not been discussed in class.)