You are given 2 integers N and M. Let g(i) denotes the number of divisors of i, that is count of positive numbers dividing i. Your task is to find the sum:
N∑i=1iM∗g(i)
Since the answer can be very large, you are required to print it modulo 1000000007 (109+7)
Input format
Output format
For each test case, print the sum modulo 1000000007 (109+7) in a separate line.
Constraints
1≤T≤81≤N≤1090≤M≤1000
In the first test case, we have N=4,M=2. Now, g(1)=1,g(2)=2,g(3)=2,g(4)=3. This is because:
So, 4∑i=1iM∗g(i) = 1∗1+22∗2+32∗2+42∗3 = 75.
In the second test case, we have N=1. So, sum is 1.