1.1 KiB
1.1 KiB
id, challengeType, title, videoUrl, localeTitle
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f51d1000cf542c51002f | 5 | Problem 433: Steps in Euclid"s algorithm | 问题433:欧几里得算法的步骤 |
Description
我们有E(1,1)= 1,E(10,6)= 3和E(6,10)= 4。
将S(N)定义为1≤x,y≤N的E(x,y)之和。 我们有S(1)= 1,S(10)= 221和S(100)= 39826。
求S(5·106)。
Instructions
Tests
tests:
- text: <code>euler433()</code>应该返回326624372659664。
testString: assert.strictEqual(euler433(), 326624372659664);
Challenge Seed
function euler433() {
// Good luck!
return true;
}
euler433();
Solution
// solution required
/section>