If x100+2x99+k is divisible by (x+1), then the value of k is
1
-3
3
-2
Since (x+1) is a factor, x=−1 will make the given expression zero.
∴(−1)100+2×(−1)99+k=0⇒1−2+k=0⇒k=1