1.0 KiB
1.0 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4e81000cf542c50fffa | 5 | Problem 379: Least common multiple count | 问题379:最少共同的多重计数 |
Description
令g为f的求和函数,即:g(n)=Σf(i),1≤i≤n。
你得到g(106)= 37429395。
找到g(1012)。
Instructions
Tests
tests:
- text: <code>euler379()</code>应该返回132314136838185。
testString: 'assert.strictEqual(euler379(), 132314136838185, "<code>euler379()</code> should return 132314136838185.");'
Challenge Seed
function euler379() {
// Good luck!
return true;
}
euler379();
Solution
// solution required