# Remainder of $\sum_{x=1}^{312} x \times x!$ divided by 2016 [closed]

I have this question:

What is the remainder of $$\sum_{x=1}^{312} x \times x!$$ (or just simply) $$(1! \times 1) + (2! \times 2) + (3! \times 3) + \dots + (312! \times312)$$ Divided by $2016$?

## closed as off-topic by Crostul, Carl Mummert, user223391, projectilemotion, ShaileshFeb 6 '17 at 0:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Crostul, Carl Mummert, Community, projectilemotion, Shailesh
If this question can be reworded to fit the rules in the help center, please edit the question.

• What contest is this from? Is it still on-going? – Joel Reyes Noche Feb 5 '17 at 13:41
• What contest is this from? – Joel Reyes Noche Feb 12 '17 at 13:59

$$n\cdot n!=(n+1-1)\cdot n!=(n+1)!-(n)!$$
$$\sum_{r=n}^m r\cdot r!= (m+1)!-n!$$
Here $n=1, m=312$
Now $2016=7\cdot3^2\cdot2^5$