freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-279-triangles-with-...

834 B

id challengeType title forumTopicId
5900f4841000cf542c50ff96 5 Problem 279: Triangles with integral sides and an integral angle 301929

Description

How many triangles are there with integral sides, at least one integral angle (measured in degrees), and a perimeter that does not exceed 108?

Instructions

Tests

tests:
  - text: <code>euler279()</code> should return 416577688.
    testString: assert.strictEqual(euler279(), 416577688);

Challenge Seed

function euler279() {
  // Good luck!
  return true;
}

euler279();

Solution

// solution required