AdvancedRating 1800
Total of All Divisor Sums
Let σ(i) be the sum of the divisors of i. Print σ(1) + σ(2) + … + σ(n) modulo 1 000 000 007.
Input
One integer n (1 ≤ n ≤ 10¹²).
Output
One integer.
Sample 1
Input
1
Output
1
Sample 2
Input
5
Output
21
Output appears here