Find all n such that $\varphi(n) = n/24$
This is my attempt:
$24 = 2^3*3$
$\varphi(24^k) = (2^{3k}-2^{3k-1})(3^k-3^{k-1})=2^{3k}(1-1/2)*3^k(1-1/3)=2^{3k}*3^{k-1}$
$24^k/24 = 24^{k-1}= 2^{3k-3}*3^{k-1}$, For $k= 1, 2, 3, ...$
I also tried multiplying $24^k$ by a factor but I didn't get anywhere. Is there a formula to find such n?
Any help would be appreciated!