944. Sum of Elevisors

Given a set E of positive integers, an element x of E is called an element divisor (elevisor) of E if x divides another element of E.

The sum of all elevisors of E is denoted sev(E).
For example, sev({1,2,5,6})=1+2=3.

Let S(n) be the sum of sev(E) for all subsets E of {1,2,,n}.
You are given S(10)=4927.

Find S(1014)mod1234567891.

944. 基本因数之和

对某个只含正整数的集合 E,若 E 中的一个元素 x 能够整除 E 中不同于 x 的一个元素,则称 xE 的一个 基本因数

我们记 sev(E)E 中全体基本因数的和。例如,sev({1,2,5,6})=1+2=3

S(n) 为全体 {1,2,,n} 的子集的 sev 之和,已知 S(10)=4927

S(1014)mod1234567891


这个链接 回到源站。

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