← Complete problem index

PROJECT EULER · #0944

Sum of Elevisors

Statement only · SolvedOriginal problem ↗

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.

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.