(1/1998-1)*(1/1997-1)*(1/1996-1)*...*(1/1001-1)*(1/1000-1)
=(-1997/1998)*(-1996/1997)*(-1995/1996)*...*(-1000/1001)*(-999/1000)
=-(1997/1998)*(1996/1997)*(1995/1996)*...*(1000/1001)*(999/1000)
=-999/1998
=-1/2.
(1/1998-1)*(1/1997-1)*(1/1996-1)*...*(1/1001-1)*(1/1000-1)
=(-1997/1998)*(-1996/1997)*(-1995/1996)*...*(-1000/1001)*(-999/1000)
=-(1997/1998)*(1996/1997)*(1995/1996)*...*(1000/1001)*(999/1000)
=-999/1998
=-1/2.