If x140+2x151 +k is divisible by x+1, then the value of k is

Let f (x) = x140 + 2x151 + k

Since, x+1 is a factor of f (x)


So, f (-1) = 0


(-1)140 + 2(-1)151 +k = 0


1 - 2 + k=0


k = 1

4