x^2+x-3=0,
x^3+1991x^2+1987x+1990
=x(x^2+x-3)+1990x^2+1990x+1990
=x*0+1990(x^2+x-3)+2*1990
=1990*0+3980
=3980.