Question 28Find all integers $n \gt 2$ such that $n^{n-2}$ is an $n$th power of some integer. (Patrik Bak)