You mean: 

``(sh_order + 1) * (sh_order+2) / 2``

(typo)