1.1 KiB
1.1 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4fd1000cf542c51000f | 5 | Problem 401: Sum of squares of divisors | 问题401:除数的平方和 |
Description
设sigma2(n)代表n的除数的平方和。因此sigma2(6)= 50。
设SIGMA2表示sigma2的和函数,即对于i = 1到n,SIGMA2(n)=Σsigma2(i)。 SIGMA2的前6个值是:1,6,16,37,63和113。
找到SIGMA2(1015)modulo 109。
Instructions
Tests
tests:
- text: <code>euler401()</code>应该返回281632621。
testString: 'assert.strictEqual(euler401(), 281632621, "<code>euler401()</code> should return 281632621.");'
Challenge Seed
function euler401() {
// Good luck!
return true;
}
euler401();
Solution
// solution required