Problem D. Counting Divisors
时间限制 1 ms
内存限制 512 MB
In mathematics, the function $d(n)$ denotes the number of divisors of positive integer $n$.
For example, $d(12)=6$ because $1,2,3,4,6,12$ are all $12$'s divisors.
In this problem, given $l,r$ and $k$, your task is to calculate the following thing :
\begin{eqnarray*}
\left(\sum_{i=l}^r d(i^k)\right)\bmod 998244353
\end{eqnarray*}
输入数据
输出数据
For each test case, print a single line containing an integer, denoting the answer.
样例输入
复制
3
1 5 1
1 10 2
1 100 3
样例输出
$ Mathjax font initiator $