Processing math: 100%

Problem #244

Fun with Divisors Sum

Let f(a, b) denote the sum of divisors of ab + 1 which lies in the range (a, b).

For example, f(3, 23) = 5 + 7 + 10 + 14 = 36.

Calculate \sum_{i=1}^{p - 1}f(i, p) for p = 1000000007.

Contributed by Manas Gupta

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