Let Sn = 1 + 2 + 3 + . . . + n
Here a = and the last term l is n
So, the sum of first n positive integers is given by