Find the sum of (i) the first 1000 positive integers (ii) the first n positive integers