I need help finding all natural numbers n such that $\phi(n)$=12.
My professor told us to use $\phi$(mn)=$\phi$(m)$\phi$(n).
I know that $12$ can be factored into $3 \times 4$, $12 \times 1$ and $6 \times 2$.
I need help finding all natural numbers n such that $\phi(n)$=12.
My professor told us to use $\phi$(mn)=$\phi$(m)$\phi$(n).
I know that $12$ can be factored into $3 \times 4$, $12 \times 1$ and $6 \times 2$.
HINT:
As $\phi(\prod p_r^{x_r})=\prod\phi(p_r^{x_r})$ where $p_r$s are distinct primes
So, if $p^a|n, \phi(p^a)|\phi(n)=12$
Clearly $p\le13$
So, we need to check for $p=2,3,5,7,11,13$
Now, $\phi(p^a)=p^{a-1}(p-1)$ for integer $a\ge1$