I've been asked to find all group homomorphisms from $$\Bbb Z_n\to D_m,$$ where $n$ and $m$ are distinct natural numbers.
I now understand how to describe homomorphic groups using functions between two groups of numbers, but I'm a little confused how I would write a homomorphism from integers in $\Bbb Z$ mod $n$ to set permutations of symmetries on a regular shape in the dihedral group. Would I just represent the homomorphism as mapping, with arrows drawn from elements in $\Bbb Z_n$ to elements in $D_m$?
Thanks in advance for any help!
Given $\Bbb Z_n$ is isomorphic to the group given by
$$\langle x\mid x^n\rangle$$
and $D_m$ is isomorphic to the group given by
$$\langle a,b\mid a^m, b^2, ba=a^{-1}b\rangle,$$
note that homomorphisms are determined by their actions on generators.