Find sum of products of integers 5

We are finding sum of products of consecutive integers.