freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-224-almost-right-an...

746 B

id title challengeType forumTopicId dashedName
5900f44e1000cf542c50ff5f Problem 224: Almost right-angled triangles II 5 301867 problem-224-almost-right-angled-triangles-ii

--description--

Let us call an integer sided triangle with sides a ≤ b ≤ c barely obtuse if the sides satisfy a^2 + b^2 = c^2 - 1.

How many barely obtuse triangles are there with perimeter ≤ 75\\,000\\,000?

--hints--

almostRightAngledTrianglesTwo() should return 4137330.

assert.strictEqual(almostRightAngledTrianglesTwo(), 4137330);

--seed--

--seed-contents--

function almostRightAngledTrianglesTwo() {

  return true;
}

almostRightAngledTrianglesTwo();

--solutions--

// solution required