The groups $(G, \cdot)$ and $(H, \odot)$ are isomorphic if a bijective map $\phi : G \rightarrow H$ exists, where $\phi (a \cdot b) = \phi(a) \odot \phi(b)$. I cannot find a map $\phi$ that does this when $G = \mathbb Z$ and $H = \mathbb Q$, and when $G = U(20)$ and $H = U(24) $. The group $U(n)$ uses the multiplication operation and comprises of all integers relatively prime to n. For example, $U(24) = \left\{ 1,5,7,11,13,17,19,23\right\}$ Is it correct to say that these groups are not isomorphic?
I thought of showing that U(20) and U(24) are of different order, but they have the same order. Thus, this proof failed.