858. LCM

Define G(N)=Slcm(S) where S ranges through all subsets of {1,,N} and lcm denotes the lowest common multiple. Note that the lcm of the empty set is 1.

You are given G(5)=528 and G(20)=8463108648960.

Find G(800). Give your answer modulo 109+7.

858. 最小公倍数

G(N)=Slcm(S),其中 S 取遍 {1,,N} 的全体子集,lcm 表示最小公倍数。注意,空集的 lcm1

已知 G(5)=528G(20)=8463108648960

G(800)(109+7) 的值。


这个链接 回到源站。

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