Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-224-almost-right-angled-triangles-ii.md
gikf a9418a1fe9 fix(curriculum): clean-up Project Euler 221-240 (#42839)
* fix: clean-up Project Euler 221-240

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-15 14:26:34 +02:00

746 B

id, title, challengeType, forumTopicId, dashedName
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