Adaptive Mechanized Calcium Chlorohypochlorite

View as PDF

Submit solution

Points: 25
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type

You are given a multiplicative function f(x), where f(pk)=pkpk1 when p is prime. Determine i=1Nf(i) modulo 109+7.

Input Specification

The only line contains an integer, N (1N1010).

Output Specification

Output i=1Nf(i) modulo 109+7.

Sample Input

Copy
5

Sample Output

Copy
10

Comments

There are no comments at the moment.