Problem

Source: 2017 Pan-African Shortlist - N2

Tags: number theory, prime numbers, sum of cubes, algebra, factorization



For which prime numbers $p$ can we find three positive integers $n$, $x$ and $y$ such that $p^n = x^3 + y^3$?