Problem 858 题目发布于 2023-10-07 翻译更新于 2024-01-03 Problem 858 LCMDefine 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. 最小公倍数定义G(N)=∑Slcm(S),其中S取遍1,…,N的所有子集,lcm表示最小公倍数。注意对空集取lcm的结果为1。 已知G(5)=528,G(20)=8463108648960。 求G(800),并对109+7取余作为你的答案。
Gitalking ...