1.2 KiB
1.2 KiB
id, challengeType, videoUrl, localeTitle
id | challengeType | videoUrl | localeTitle |
---|---|---|---|
5900f3fa1000cf542c50ff0c | 5 | 问题140:改进的斐波那契金块 |
Description
xAG(x)(√5-1)/ 41 2/52(√22-2)/ 63(√137-5)/ 144 1/25
如果x是理性的,我们将称AG(x)为金块,因为它们变得越来越稀少;例如,第20个金块是211345365.找到前30个金块的总和。
Instructions
Tests
tests:
- text: <code>euler140()</code>应该返回5673835352990。
testString: assert.strictEqual(euler140(), 5673835352990);
Challenge Seed
function euler140() {
// Good luck!
return true;
}
euler140();
Solution
// solution required
/section>