Problem

Source: Argentina IberoAmerican TST 2024 P1

Tags: number theory, Diophantine equation, prime numbers



Find all positive prime numbers $p$, $q$ that satisfy the equation $$p(p^4+p^2+10q)=q(q^2+3)$$