In the polynomial x^4 − 2x^3 + kx^2 + 3x + 1, k is a real number. For what value of k is ( x+1 ) a factor of the polynomial?
The value of k is ___.
