Problem

Source: Stars of Mathematics 2023 P1 (junior level)

Tags: number theory, prime numbers, Perfect Squares



Determine all pairs $(p,q)$ of prime numbers for which $p^2+5pq+4q^2$ is a perfect square.