You can put this solution on YOUR website! You know that the sum of any two sides of a triangle must be larger than the remaining side.
So starting with the side of length 2, we know that or
We also 2 + 1000 = 1002. So we know the third side cannot be larger than 1002
Thus says the integer values must be 999, 1000, 1001