The correct option is D n is an even positive integer
Let,
f(x)=xn−yn and
g(x)=x+y
=>x+y=0
=>x=−y
If f(x) is divided by g(x) then,f(−y) should be equal to zero.
Therefore,
f(−y)=(−y)n−yn
=0 if n is even
≠0 if n is odd
Therefore,
x+y is a factor of xn−yn when n is a even integer.