Problem

Source: 2019 FKMO Problem 5

Tags: algebra, polynomial



Find all pairs $(p,q)$ such that the equation $$x^4+2px^2+qx+p^2-36=0$$has exactly $4$ integer roots(counting multiplicity).