Solve: $$p^2(p^3-1)=q(q+1)$$ where $p$ and $q$ are prime numbers.
Could someone help me with this question? I tried several things but I couldn't get it. I can show what I already did about that question, but I didn't go too far. I don't have the answers.
$p=q$ and $p^{2} = q$ are impossible, so we must have $p^{2}\mid q + 1$. Let $q + 1 = kp^{2}$ for some $k > 0$. Note that $q(q+1)=kp^{2}(kp^{2}-1)=k^{2}p^{4}-kp^{2}\equiv -kp^{2}\pmod{p^{4}}$. However, $p^{2}(p^{3}-1)\equiv -p^{2}\pmod{p^{4}}$, so $k\equiv 1\pmod{p^{2}}$.
$k=1$ has no solutions, so $k\geq p^{2} + 1$. Then, $q = kp^{2} - 1\geq p^{4}+p^{2} - 1$. However, because $q\neq p, p^{2}$ we must have $q\mid p^{3}-1$, so $q\leq p^{3}-1$, contradiction because $p\geq 1$. Thus, there are no solutions.