#P8570. [JRKSJ R6] 牵连的世界
[JRKSJ R6] 牵连的世界
Background

Problem Description
Given , find
Input Format
Two integers .
Output Format
Output one integer, representing the answer. The answer should be taken modulo .
5 5
453
20 20
173825
Hint
are the divisor-counting function and Euler's totient function, respectively.
This problem may be slightly tight on constant factors.
Constraints
This problem uses bundled subtasks.
For all testdata, .
For some reason, you only need to get points to pass this problem.
Translated by ChatGPT 5