The answer is n*(n+1)/2 + 1.

Michael Shackleford, A.S.A., 11/10/1998