Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-279-triangles-with-integral-sides-and-an-integral-angle.english.md
mrugesh 22afc2a0ca feat(learn): python certification projects (#38216)
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>
2020-05-27 13:19:08 +05:30

850 B

id, challengeType, isHidden, title, forumTopicId
id challengeType isHidden title forumTopicId
5900f4841000cf542c50ff96 5 false 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