# Prime squares

Find the number of ordered pairs of distinct positive primes $p$, $q$ ($p \ne q$) such that $p^2 + 7pq + q^2$ is the square of an integer.

This problem is shared by Diganta B.

×