754. Product of Gauss Factorials

The Gauss Factorial of a number n is defined as the product of all positive numbers n that are relatively prime to n. For example g(10)=1×3×7×9=189. Also we define

G(n)=i=1ng(i)

You are given G(10)=23044331520000.

Find G(108). Give your answer modulo 1000000007.

754. 高斯阶乘的乘积

整数 n高斯阶乘 g(n) 被定义为全体 n 的、和 n 互质的正整数的乘积。例如 g(10)=1×3×7×9=189

我们另外定义:

G(n)=i=1ng(i)

你已知 G(10)=23044331520000

G(108)1000000007 的值。


这个链接 回到源站。

这个链接 回到详细版题目目录。