That's the area of a trapezoid with width 1 and heights 2 * 998 and 2 * 999, which is 1997