1.0 KiB
1.0 KiB
id | challengeType | videoUrl | localeTitle |
---|---|---|---|
5900f4c11000cf542c50ffd3 | 5 | 问题341:Golomb的自我描述序列 |
Description
n123456789101112131415 ... G(n)的122334445556666 ...
给出G(103)= 86,G(106)= 6137.对于1≤n<103,还给出ΣG(n3)= 153506976。
找到ΣG(n3)为1≤n<106。
Instructions
Tests
tests:
- text: <code>euler341()</code>应该返回56098610614277016。
testString: assert.strictEqual(euler341(), 56098610614277016);
Challenge Seed
function euler341() {
// Good luck!
return true;
}
euler341();
Solution
// solution required
/section>