Find all positive integers $n$ such that \[2n = \varphi(n)^{\frac{2}{3}}(\varphi(n)^{\frac{2}{3}}+1)\]
Source: 2024 Brazil Olympic Revenge Problem 4
Tags: number theory, totient function
Find all positive integers $n$ such that \[2n = \varphi(n)^{\frac{2}{3}}(\varphi(n)^{\frac{2}{3}}+1)\]