1.2 KiB
1.2 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4f21000cf542c510005 | 5 | Problem 390: Triangles with non rational sides and integral area | 问题390:具有非理性边和积分面积的三角形 |
Description
S(n)是所有三角形的面积之和,其边长为√(1 + b2),√(1 + c2)和√(b2 + c2)(对于正整数b和c),其积分面积不超过ñ。
示例三角形的b = 2且c = 8。
S(106)= 18018206。
找到S(1010)。
Instructions
Tests
tests:
- text: <code>euler390()</code>应该返回2919133642971。
testString: 'assert.strictEqual(euler390(), 2919133642971, "<code>euler390()</code> should return 2919133642971.");'
Challenge Seed
function euler390() {
// Good luck!
return true;
}
euler390();
Solution
// solution required