What are the details of remainder theorem?
Remainder Theorem:-
When f(x) is divided by (x-a) the remainder is f(a)
Tor example:-
f(x) x3-2x2+5x+8 divided by x-2
f(2) 8-8+10+8 = 18
So the remainder is 18 if there is no remainder then the divisor
is a factor of the dividend.