Problem

Source: Balkan MO Shortlist 2013 N5 BMO

Tags: number theory, Diophantine equation, diophantine, primes



Prove that there do not exist distinct prime numbers $p$ and $q$ and a positive integer $n$ satisfying the equation $p^{q-1}- q^{p-1}=4n^2$