Problem

Source: 2022 JBMO Problem 3

Tags: number theory, prime numbers, Diophantine equation, JBMO



Find all quadruples of positive integers $(p, q, a, b)$, where $p$ and $q$ are prime numbers and $a > 1$, such that $$p^a = 1 + 5q^b.$$