Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
1.1 KiB
1.1 KiB
id, challengeType, isHidden, title, forumTopicId
id | challengeType | isHidden | title | forumTopicId |
---|---|---|---|---|
5900f4de1000cf542c50fff1 | 5 | false | Problem 370: Geometric triangles | 302032 |
Description
An example of such a geometric triangle is the triangle with sides a = 144, b = 156 and c = 169.
There are 861805 geometric triangles with perimeter ≤ 106 .
How many geometric triangles exist with perimeter ≤ 2.5·1013 ?
Instructions
Tests
tests:
- text: <code>euler370()</code> should return 41791929448408.
testString: assert.strictEqual(euler370(), 41791929448408);
Challenge Seed
function euler370() {
// Good luck!
return true;
}
euler370();
Solution
// solution required