For what integers $n$ does $\phi(2n)=\phi(3n)$?
I know that $\phi(n) = \phi(P_1^{a1})\cdots\phi(P_k^{ak}) = (P_1^{a1}-P_1^{a1-1})\cdots(P_k^{ak}-P_k^{ak-1})$ but I'm not really sure how to apply it in a way that helps.
The only thing I could think to try was all cases of $n$ being even or odd, and $n$ being divisible by $3$ or not, however I could not get this to work.
Any help is appreciated, thanks.
Based on your formula for $\varphi(n)$, for any prime $p$,
$$\varphi(pn)= \left\{\begin{array}{ccc} (p-1)\varphi(n)& \text{if} & p\not\mid n \\ p\varphi(n) & \text{if} & p\mid n\end{array} \right. $$
If you apply this for $p=2$ and $p=3$ you should be able to come to something useful.