Challenge 394: Curious Cubic
Use the information given here to find the value of the expression.
The cubic equation in x shown below is satisfied when x = a, and by exactly two integer values for x.
x3 + x2(a - 2) - x(3a - 1) - 4a = 0
Find the value of a2 - 3a + 2.