Problem

Source: Greek TST 2012,Pr.1

Tags: number theory proposed, number theory



Find all triples $(p,m,n)$ satisfying the equation $p^m-n^3=8$ where $p$ is a prime number and $m,n$ are nonnegative integers.