sum(r(r+1)(r+2)(r+4)(r+8),r=1 to n