Find all integer values of $a$ such that the quadratic expression
$(x+a)(x+1991)+1$
can be factored as a product $(x+b)(x+c)$ where $b$ and $c$ are integers.
I tried expanding the brackets and equating it with $(x+b)(x+c)$ :
$x^2 + 1991x + ax+1991a + 1 = x^2 + cx + bx + bc$
$=>(1991+a)x + (1991a+1) = (c+b)x + bc$
If I equate corresponding coefficients, I get two equations with three unknowns.
What is the "proper" approach to solve such problems ?
EDIT : This problem has been taken from a math contest "RMO" held in the year 1991. So I think this problem can be generalized for the expression $(x+a)(x+\lambda)+1$. How to solve it in that case ?