the answer for this question is c:n(n+1)/2
Your experience on this site will be improved by allowing cookies. Read Cookie Policy