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

645 B

id title challengeType forumTopicId dashedName
5900f44b1000cf542c50ff5e Problem 223: Almost right-angled triangles I 5 301866 problem-223-almost-right-angled-triangles-i

--description--

Let us call an integer sided triangle with sides a ≤ b ≤ c barely acute if the sides satisfy a2 + b2 = c2 + 1.

How many barely acute triangles are there with perimeter ≤ 25,000,000?

--hints--

euler223() should return 61614848.

assert.strictEqual(euler223(), 61614848);

--seed--

--seed-contents--

function euler223() {

  return true;
}

euler223();

--solutions--

// solution required