Given,
p(x)=x4–2x3+3x2–ax+3a–7
When we divide p(x) by x+1, then we get the remainder as p(- 1).
P(−1)=(−1)4–2(−1)3+3(−1)2−a(−1)+3a–7
1+2+3+a+3a–7=4a–1
According to the question, p(-1) = 19
⇒ 4a–1=19
⇒ 4a=20
∴ a=5
∴ Required polynomial =x4–2x3+3x2–5x+3(5)–7
=x4–2x3+3x2–5x+15–7
=x4–2x3+3x2–5x+8
When we divide p(x) by x + 2, we get the remainder as p(-2).
Now, p(−2)=(−2)4–2(−2)3+3(−2)2–5(−2)+8
=16+16+12+10+8=62