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 ?
we have $$(x+a)(x+1991)+1=x^2+x(a+1991)+1991a+1$$ this should equal to $$x^2+x(b+c)+bc$$ and from here we get $$bc=1991a+1$$ and $$b+c=a+1991$$ solving both equations for $a$ we get $$bc-1=1991b+1991c-1991^2$$ frm here we get $$c=\frac{1991b+1-1991^2}{b-1991}$$ can you proceed?