Suppose prime $\,\color{#0a0}{p\mid n\mid 3^n\!-2^n}.\,$ Then $p$ is odd so $\bmod p\!:\ 2$ is invertible so $\,3/2\,$ exists so
$$ \bmod p\!:\ \ (3/2)^{\large p-1}\!\equiv \color{#0a0}{1\equiv (3/2)^{\large n}}\Rightarrow\, (3/2)^{\large \color{#c00}{(p-1,n)}}\equiv 1$$
However if $\,p\,$ is the least prime factor of $\,n\,$ then $\,\color{#c00}{(p-1,n) = 1}\ $ therefore
$$ 1 \equiv (3/2)^{\large \color{#c00}{(p-1,n)}}\!\equiv 3/2\,\Rightarrow\,2\equiv 3\,\Rightarrow\,p\mid 1\Rightarrow\!\Leftarrow$$
Remark $\ $ The key idea is: $ $ if $\, a^n\! = 1,\ a\neq 1\,$ then $\:a\:$ has order $\,\ge\,$ the least prime factor $\,p\mid n.\,$ In particular this implies that $\rm\ a^{p-1}\!\ne 1,\, $ as above.
This is a slight variant of the proof I gave in this answer. See there for generalizations.
3^k=2^k (mod p) which I don't know how to proceed with
– SuperMage1 Jun 08 '17 at 14:39