00:00

Question 138·Hard·Equivalent Expressions

The identity

x3+ax2+bx+cx−2=x2+px+q+5x−2\frac{x^3 + ax^2 + bx + c}{x - 2}=x^2 + px + q + \frac{5}{x-2}

holds for all real numbers x≠2x \neq 2, where a, b, c, pa,\,b,\,c,\,p, and qq are integers.
The numbers a, ba,\,b, and cc are consecutive integers listed in increasing order.

What is the value of qq?