a²=-a+1
所以a³=a*a²
=a(-a+1)
=-a²+a
=-(-a+1)+a
=2a-1
所以原式=1998(2a-1)+3996(-a+1)
=3996a-1998-3996a+3996
=1998