\sum_{b=0}^{n-1}(b+1)=\frac{n(n+1)}{2}