Back to Freecodecamp

Problem 279: Triangles with integral sides and an integral angle

curriculum/challenges/english/blocks/project-euler-problems-201-to-300/5900f4841000cf542c50ff96.md

latest525 B
Original Source

--description--

How many triangles are there with integral sides, at least one integral angle (measured in degrees), and a perimeter that does not exceed ${10}^8$?

--hints--

trianglesWithIntegralSidesAndAngle() should return 416577688.

js
assert.strictEqual(trianglesWithIntegralSidesAndAngle(), 416577688);

--seed--

--seed-contents--

js
function trianglesWithIntegralSidesAndAngle() {

  return true;
}

trianglesWithIntegralSidesAndAngle();

--solutions--

js
// solution required