#P3601. 签到题
签到题
Description
We define a function as the number of integers less than or equal to that are not coprime with . Given and , compute:
$$\sum_{i=l}^r \operatorname{qiandao}(i)\bmod 666623333.$$Input Format
One line with two integers, and .
Output Format
One line with one integer representing the answer.
233 2333
1056499
2333333333 2333666666
153096296
Hint
- For 30% of the testdata, .
- For 60% of the testdata, .
- For 100% of the testdata, , .
Translated by ChatGPT 5
京公网安备 11011102002149号