If x+1 is a factor of x3+a, then write the value of a.
Let, f (x) = x3 + a
(x +1) is a factor of f(x), so f (-1) = 0
f (-1) =0
(-1)3 + a = 0
-1 + a = 0
a = 1