freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-439-sum-of-sum-of-d...

28 lines
563 B
Markdown
Raw Normal View History

---
id: 5900f5231000cf542c510035
title: 问题439除数之和
challengeType: 5
videoUrl: ''
---
# --description--
令dk是k的所有除数之和。
我们定义函数SN= ∑1≤i≤N ∑1≤j≤Ndi·j
例如S3= d1+ d2+ d3+ d2+ d4+ d6+ d3+ d6+ d 9= 59。
给出S103= 563576517282和S105mod 109 = 215766508。 找出S1011mod 109。
# --hints--
`euler439()`应该返回968697378。
```js
assert.strictEqual(euler439(), 968697378);
```
# --solutions--