Problem

Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2017

Tags: number theory, prime numbers



Find prime numbers $p$, $q$, $r$ and $s$, pairwise distinct, such that their sum is prime number and numbers $p^2+qr$ and $p^2+qs$ are perfect squares