Problem

Source: 2014 Romania JBMO TST 5.2

Tags: diophantine, Diophantine equation, number theory



Solve, in the positive integers, the equation $5^m + n^2 = 3^p$ .