Processing math: 100%

Problem #238

Power GCD Sum

Evaluate :

for n= 7777777, a=788788.

Since X may be large. Give your answer as X mod 10^9 + 7.

Contributed by Adarsh Singh

Solved by 14 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.