Can someone please help me understand how to do this exercise?
Show that multiplicative group of positive rationals is a free abelian group of countably infinite rank.
So, I know i can begin with: Let Q be multiplicative group of positive rationals. Let r $\in$ Q that $r = \frac{a}{b} \in Q$.
I have no idea what next? :/
Hint: Fundamental theorem of arithmetic.
Full solution:
Every positive rational can be written as a unique product $$n=p_1^{a_{n1}}p_2^{a_{n2}}p_3^{a_{n3}}\ldots$$ where $p_i$ is the $i$th prime, and $a_{nj}\in\mathbb Z$ is eventually constant and $0$. Thus we can write a group homomorphism $$\phi:(\mathbb Q,\times)\to(\mathbb Z^\omega,+)$$ sending $n\to(a_{nj})_{j\in\mathbb{N}}$. But because each product also uniquely determines a rational, this map is actually a bijection and thus $$(\mathbb Q,\times)\sim(\mathbb Z^\omega,+)$$ which gives the result.