Let $n$ be a positive integer such that $n=2\varphi(n)$. Show that $n=2^j$ for a positive integer $j$.
Basically I'm completely stumped on this question, I have no idea where to begin or what to do.
Let $n$ be a positive integer such that $n=2\varphi(n)$. Show that $n=2^j$ for a positive integer $j$.
Basically I'm completely stumped on this question, I have no idea where to begin or what to do.
On
Hint Note that $n$ is even, because $n=2\phi(n)$, and so already $2,4,6,\ldots,n-2,n$ are not coprime to $n$ (count them).
Now look at the remaining $\{1,3,5\ldots,n-1\}$, can any of these not be coprime to $n$ ? Why? What does that imply?
Look at the formula $$\phi(n) = n\prod_{p\mid n} \left(1-\frac{1}{p}\right)$$
and compare this with what you require:
$$\phi(n) = \frac12 n$$
This tells you that the only possible prime factors of $n$ is 2 ...