Does anyone know how to find integer solutions of the quadratic equation
$$y^2+y+z=f$$
where $z$ is a fixed odd prime or $1$ and $f$ is a fixed odd prime greater than $3$?
This problem arose from the Diophantine equation $A+B=C$ where $A,B,C$ are natural numbers with no common factor.