Solve for $m\in\mathbb{N}$ the equation $\phi (m)=12$
I found (by trial) $m=\{13,21,26,28,36\}$, but do not know if misinterpreted the problem, but actually I suppose I have to find an equation that generates these values? is how? Is there a way to solve $\phi(m)=k$, with $k\in\mathbb{N}$?
Hints: we have that
$$12=\varphi(m)=m\prod_{p\mid m,\,p\;\text{prime}}\left(1-\frac1p\right)$$
Observe that the above seriously limits the number and kind of primes factors $\;m\;$ can have...