Find all integer triples $(p,m,n)$ that satisfy: $p^m-n^3=27$ where $p$ is a prime number.
Problem
Source: Bosnia and Herzegovina JBMO TST 2018
Tags: number theory, Prime number, Diophantine equation, Exponential equation
Source: Bosnia and Herzegovina JBMO TST 2018
Tags: number theory, Prime number, Diophantine equation, Exponential equation
Find all integer triples $(p,m,n)$ that satisfy: $p^m-n^3=27$ where $p$ is a prime number.