I am having difficulty solving the following problem:
Suppose $k$ is a positive integer such that the equation $\phi(n) = k$ has a unique positive integer solution $n$. Show that $4$ divides $k$.
This is what I have so far:
$$ \begin{align} \phi(n) &= \phi(2^{x}b)\\ &= \phi(2^{x})\phi(b)\\ &= 2^{x - 1}\phi(b)\\ &= 4(2^{x - 3})\phi(b) \end{align} $$
Which proves that $4 \,\, | \,\, k$ if $x \geq 3$. However, I don't know how to prove that $4 \,\, | \,\, k$ if $\phi(n) = k$ has a unique positive integer solution $n$.
If anybody could provide me with the right direction, that would be greatly appreciated.
We show the contrapositive, that if $4\nmid k$ for a given positive integer $k$, then $\varphi(n)=k$ has multiple solutions.
Let $n=\prod p^{n_p}$ be a positive integer and $k=\varphi(n)$. The expansion $$\varphi(n)=\varphi\left(\prod p^{n_p}\right)=\prod\varphi(p^{n_p})=\prod p^{n_p-1}(p-1),$$ shows that if $4\nmid k$ then $n$ is not divisible by an prime $p\equiv1\pmod{4}$, and not divisible by two distinct odd prime numbers, and not divisible by $2^3$. In fact we see that either $n=1,2,4$, $n=p^m$ or $n=2p^m$ for some prime number $p\equiv3\pmod{4}$ and some nonnegative integer $m$. But then the identities \begin{eqnarray*} \varphi(1)&=&\varphi(2)\\ \qquad\varphi(3)&=&\varphi(4)\\ \varphi(2p^m)&=&\varphi(2)\varphi(p^m)=\varphi(p^m), \end{eqnarray*} show that $n$ is not the unique solution to $\varphi(n)=k$.