Problem

Source: 1999 Singapore TST 1.1

Tags: Diophantine equation, diophantine, number theory



Find all integers $m$ for which the equation $$x^3 - mx^2 + mx - (m^2 + 1) = 0$$has an integer solution.