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 p2+5pq+4q2 is a perfect square.