1.1 KiB
1.1 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f45d1000cf542c50ff70 | 5 | Problem 241: Perfection Quotients | 问题241:完美商数 |
Description
正如您所知,一个完美的数字是σ(n)= 2n的数字。
让我们定义正整数asp(n)=σ(n)n的完美商。求出所有正整数n≤1018的和,其中p(n)的形式为k + 1/2,其中k是整数。
Instructions
Tests
tests:
- text: <code>euler241()</code>应该返回482316491800641150。
testString: 'assert.strictEqual(euler241(), 482316491800641150, "<code>euler241()</code> should return 482316491800641150.");'
Challenge Seed
function euler241() {
// Good luck!
return true;
}
euler241();
Solution
// solution required