Finding intergers $π>2$ satisfying $π^{πβ2}=k^{n}$
Question:
Find all integers $π>2$ such that the number $π^{πβ2}$ is the $n$-th power of an integer.
I have solved this question on my own and I need a solution verification. If my attempt is incorrect or missing something crucial, could you please provide me a suggestion of how to improve this?
Solution 1:
We can observe that $π=4$ works, as $4^{4β2}=2^{4}$, and prove that no other integer $n>2$ does (though both $n=1$ and $n=2$ do).
Let $n=p^{e_{1}}_{1}β―p^{e_{k}}_{k}$ be the prime power decomposition of $n$.Then $n^{nβ2}=p^{(nβ2)e_{1}}_{1}β―π^{(nβ2)e_{k}}_{k}$, and this is an n-th power if and only if $n|(nβ2)e_{i}$ for all $1β€iβ€k$. If $n$ is odd then $gcd(n,nβ2)=1$ so this requires that $n|e_{i}$ for each $i$. But any prime $p$ raised to the n-th power already exceeds $n$, since $2^{n}>n$ for all $n$. So for $n^{nβ2}$ to be an n-th power $n$ must be even, say $n=2m$. Then $gcd(n,nβ2)=2$, and so $2m|(2mβ2)e_{i}=2(mβ1)e_{i}$, and hence $m|(mβ1)e_{i}$, for all $i$. Since $gcd(m,mβ1)=1$ this means that $m|e_{i}$ for all $i$. Now no odd prime $p$ may occur in the decomposition of $n$, because $p^{m}>2m=n$ already for any $pβ₯3$ and $mβ₯1$. Thus we must have $n=2^{e}$, so $m=2^{e-1}$. And finally, we canβt have $eβ₯3$, because for such $e$ we have $2^{eβ1}>e$, so $m=2^{eβ1}$ canβt divide $e$ as would be required.