mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-08 00:00:41 -04:00
763 B
763 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f4801000cf542c50ff93 | Problema 276: Triangoli Primitivi | 1 | 301926 | problem-276-primitive-triangles |
--description--
Considera i triangoli con lati interi a, b e c con a ≤ b ≤ c.
Un lato intero del triangolo (a,b,c) è chiamato primitivo se gcd(a,b,c) = 1.
Quanti triangoli di lato intero primitivi esistono con un perimetro non superiore a 10\\,000\\,000?
--hints--
primitiveTriangles() dovrebbe restituire 5777137137739633000.
assert.strictEqual(primitiveTriangles(), 5777137137739633000);
--seed--
--seed-contents--
function primitiveTriangles() {
return true;
}
primitiveTriangles();
--solutions--
// solution required