Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-223-almost-right-angled-triangles-i.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

744 B

id, title, challengeType, forumTopicId, dashedName
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 a^2 + b^2 = c^2 + 1.

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

--hints--

almostRightAngledTrianglesOne() should return 61614848.

assert.strictEqual(almostRightAngledTrianglesOne(), 61614848);

--seed--

--seed-contents--

function almostRightAngledTrianglesOne() {

  return true;
}

almostRightAngledTrianglesOne();

--solutions--

// solution required