1.2 KiB
1.2 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4d61000cf542c50ffe9 | 5 | Problem 362: Squarefree factors | 问题362:无广义因子 |
Description
让我们调用Fsf(n)n可以计算为一个或多个大于1的无平方因子的方式的数量,因此Fsf(54)= 2。
对于k = 2到n,令S(n)为ΣFsf(k)。
S(100)= 193。
找到S(10 000 000 000)。
Instructions
Tests
tests:
- text: <code>euler362()</code>应该返回457895958010。
testString: 'assert.strictEqual(euler362(), 457895958010, "<code>euler362()</code> should return 457895958010.");'
Challenge Seed
function euler362() {
// Good luck!
return true;
}
euler362();
Solution
// solution required