Problem

Source: Kosovo TST 2024 P1

Tags: number theory, prime, primes, Kosovo



Find all prime numbers $p$ and $q$ such that $p^q + 5q - 2$ is also a prime number.