Processing math: 100%

Problem #214

Easy Expressions

Find the value of the following summation

\sum_{x=1}^{10^{12}} ( x^2 + x + 1 ) * x! ,

x! denotes factorial of x.

Give your answer modulo 3^{20}

Contributed by Manas Gupta

Solved by 168 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.