← Complete problem index

PROJECT EULER · #0439

Sum of Sum of Divisors

Statement only · SolvedOriginal problem ↗

Let d(k) be the sum of all divisors of k.
We define the function S(N)=i=1Nj=1Nd(ij).
For example, S(3)=d(1)+d(2)+d(3)+d(2)+d(4)+d(6)+d(3)+d(6)+d(9)=59.

You are given that S(103)=563576517282 and S(105)mod109=215766508.
Find S(1011)mod109.

Write-up coming later

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