let the equal sides be of length 1 .. then we have only one choice for the non-equal side, that would be 1. Since if we take 2 then triangle inequality will mess things up
if equal sides are of length 2 .. third side can either be 1 or 2 or 3... basically until we hit 2*2.
if equal sides are of length 3 .. third side can be 1 or 2 or 3 or 4 or 5.
now this logic continues until we hit 998 ..since 2*998=1996 we can basically pick anything for the third side from 1 to 1994
So it looks like the sum should be 1+3+5+...1993+ 997*1994
IIT Delhi 2001
Maths and Computing
Currently pursuing P.H.D in University of Pennsylvania