Problem

Source: 2019 Junior Balkan MO

Tags: number theory, Junior, JBMO, Balkan, 2019, prime numbers



Find all prime numbers $p$ for which there exist positive integers $x$, $y$, and $z$ such that the number $x^p + y^p + z^p - x - y - z$ is a product of exactly three distinct prime numbers.