sum r(r+1)(r+2)(r+3) from r=1 to n