I need to solved the following problem: Let $G$ be a group whose generators $n$ and $m$ satisfy the equations $n^2=e$, $m^3=e$ and $(nm)^2=(nm)(nm)=e$. Determine the multiplication table of $G$.
I'm try:
To determinate the multiplication table I try get all elements, so, in general, $G=\{n,e,m,m^2,nm,nm^2,nmn,nmnm,.....\}$ and with that information I try get the group using the equations $n^2=m^3=e$ but I don't know how I work with it. Someone could help me?
Since $m^3=e$, we get $m^{-1}=m^2$, and because $n^2=e$, we get $n^{-1}=n$. Then because $(nm)^2=e$, we get $nm=m^2n$. What is the significance of this rule?