Let $f: \mathbb{N} \to \mathbb{N}$ defined by
$$f(n) = n \varphi(n),$$
where $\varphi(n)$ is the Euler Totient function.
Prove that f is injective.
Let $f: \mathbb{N} \to \mathbb{N}$ defined by
$$f(n) = n \varphi(n),$$
where $\varphi(n)$ is the Euler Totient function.
Prove that f is injective.
It helps that $f$ is a multiplicative function.
Suppose that $f(n_1) = f(n_2)$. Let $p$ be the largest prime factor of $n_1$ (the case $n_1 = 1$ is trivial), and let $p^k$ be the highest power of $p$ dividing $n_1$. Then $p^{2k-1} \mid f(n_1)$, and $p^{2k} \nmid f(n_1)$. Further, $p$ is the largest prime factor of $f(n_1)$. Thus $p$ is also the largest prime factor of $f(n_2)$, hence of $n_2$, and $p^k \mid n_2$, $p^{k+1}\nmid n_2$.
Thus, by the multiplicativity of $f$, we also have
$$f\left(\frac{n_1}{p^k}\right) = f\left(\frac{n_2}{p^k}\right).$$
Continuing, after having eliminated all prime factors of $n_1$, we have
$$f(1) = f\left(\frac{n_2}{n_1}\right),$$
hence $\frac{n_2}{n_1} = 1$, or $n_2 = n_1$.