#P3861. 拆分
拆分
Description
Given an integer , find the number of ways to factor into a product of pairwise distinct integers each at least . Output the answer modulo .
Input Format
The first line contains an integer , the number of test cases. The next lines each contain an integer , as described.
Output Format
Output lines, each containing a single integer, the answer.
1
688
6
Hint
In the sample, because
$688 = 2 \times 4 \times 86= 2 \times 8 \times 43= 2 \times 344= 4 \times 172= 8 \times 86= 16 \times 43$
the answer is .
For of the testdata, is prime. For of the testdata, . For of the testdata, . For of the testdata, . All testdata satisfy .
Translated by ChatGPT 5
京公网安备 11011102002149号