For what values of $n$ does the equation $\phi(x) = n$ have at least one solution? Is there any efficient way to check it for a given $n$?
It obviously has no solutions for odd $n$. And the smallest even number for which it has no solutions is $14$.