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

647 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 a2 + b2 = c2 - 1.

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

--hints--

euler224() should return 4137330.

assert.strictEqual(euler224(), 4137330);

--seed--

--seed-contents--

function euler224() {

  return true;
}

euler224();

--solutions--

// solution required