Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-401-sum-of-squares-of-divisors.md

28 lines
568 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: 5900f4fd1000cf542c51000f
title: 问题401除数的平方和
challengeType: 5
videoUrl: ''
---
# --description--
6的除数是1,2,3和6.这些数的平方和是1 + 4 + 9 + 36 = 50。
设sigma2n代表n的除数的平方和。因此sigma26= 50。
设SIGMA2表示sigma2的和函数即对于i = 1到nSIGMA2n=Σsigma2i。 SIGMA2的前6个值是1,6,16,37,63和113。
找到SIGMA21015modulo 109。
# --hints--
`euler401()`应该返回281632621。
```js
assert.strictEqual(euler401(), 281632621);
```
# --solutions--