Let $G=\lbrace \frac{p}{q}:p,q\in\mathbb{N} \rbrace$, and let $G'=\lbrace \frac{p}{q}:p,q\in\mathbb{N},p$ and $q$ both are odd $ \rbrace$. It is clear that both $G$ and $G'$ are groups under common multiplication.
Now the question : Is $G$ and $G'$ isomorphic as groups ?
I clearly don't have any idea how to prove/disprove it. Please give me some hints.
Hints:
Each positive rational number $x$ has a unique factorization as $$x = 2^{e_2}\cdot 3^{e_3} \cdot 5^{e_5}\cdot 7^{e_7} \cdots$$ where $e_2,e_3,e_5,e_7, ...\;$are integers.
Define $f:G \to G'$ by $$ f(2^{e_2}\cdot 3^{e_3} \cdot 5^{e_5}\cdot 7^{e_7} \cdots) = 3^{e_2}\cdot 5^{e_3} \cdot 7^{e_5}\cdot 11^{e_7} \cdots $$
Verify that $f$ is an isomorphism.