1.1 KiB
1.1 KiB
id | challengeType | videoUrl | localeTitle |
---|---|---|---|
5900f4621000cf542c50ff74 | 5 | 问题245:Coresilience |
Description
数d> 1的弹性则为φ(d)d-1,其中φ是欧拉的函数。我们进一步定义了n> 1的核心,即C(n)= n - φ(n)n - 1.素数p的核心是C(p)= 1p - 1.找出所有复合整数的总和1 <n≤2×1011,其中C(n)是单位分数。
Instructions
Tests
tests:
- text: <code>euler245()</code>应该返回288084712410001。
testString: assert.strictEqual(euler245(), 288084712410001);
Challenge Seed
function euler245() {
// Good luck!
return true;
}
euler245();
Solution
// solution required
/section>