Problem

Source: Bulgarian NMO, 2013, p1

Tags: modular arithmetic, number theory, Diophantine equation, number theory proposed



Find all prime numbers $p,q$, for which $p^{q+1}+q^{p+1}$ is a perfect square. Proposed by P. Boyvalenkov