0%

Problem 754


Problem 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 1 000 000 007.


高斯阶乘之积

整数n高斯阶乘是指所有小于等于n且与n互质的正整数的乘积。例如,g(10)=1×3×7×9=189


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

已知G(10)=23044331520000

G(108),并将你的答案对1 000 000 007取余。


Gitalking ...