#P10239. [yLCPC2024] G. 系ぎて
[yLCPC2024] G. 系ぎて
Background
It is not just that I feel unwilling, what even is this chart…
——ReMiRiA
I am very happy to win the championship, but what is this chart? Will it really be included??
——yoshiki
Problem Description
Fusu really likes factoring natural numbers.
For a given positive integer , if , where are positive integers, then the triple is called an excellent factorization of .
The triple is ordered. For example, for $2 = 1 \times 1 \times 2 = 1 \times 2 \times 1 = 2 \times 1 \times 1$, we consider , , and as three different excellent factorizations.
Now, Fusu wants to ask: for , what is the total number of excellent factorizations of all ?
Formally, let be the number of excellent factorizations of . You need to compute .
Input Format
The input contains only one line with an integer ().
Output Format
Output one line with an integer representing the answer. Since the answer may be too large, you only need to output this value modulo .
2
4
100
1471
Hint
Translated by ChatGPT 5