MathDB
diophantine p^3 + pm + 2zm = m^2 + pz + z^2

Source: LCOMA Costa Rica National Olympiad, Final Round, 2015 3.4 day2

September 30, 2021
number theoryDiophantine equationdiophantine

Problem Statement

Find all triples (p,M,z)(p,M, z) of integers, where pp is prime, mm is positive and zz is negative, that satisfy the equation p3+pm+2zm=m2+pz+z2p^3 + pm + 2zm = m^2 + pz + z^2