1.1 KiB
1.1 KiB
id, challengeType, videoUrl, localeTitle
id | challengeType | videoUrl | localeTitle |
---|---|---|---|
5900f4711000cf542c50ff84 | 5 | 问题261:Pivotal Square Sums |
Description
(km)2 + ... + k2 =(n + 1)2 + ... +(n + m)2。
一些小的方形枢轴是4:32 + 42 = 52 21:202 + 212 = 292 24:212 + 222 + 232 + 242 = 252 + 262 + 272 110:1082 + 1092 + 1102 = 1332 + 1342找到所有的总和不同的方形枢轴≤1010。
Instructions
Tests
tests:
- text: <code>euler261()</code>应该返回238890850232021。
testString: assert.strictEqual(euler261(), 238890850232021);
Challenge Seed
function euler261() {
// Good luck!
return true;
}
euler261();
Solution
// solution required
/section>