Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-224-almost-right-angled-triangles-ii.english.md
Oliver Eyton-Williams bd68b70f3d Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00

859 B

id, challengeType, title, forumTopicId
id challengeType title forumTopicId
5900f44e1000cf542c50ff5f 5 Problem 224: Almost right-angled triangles II 301867

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?

Instructions

Tests

tests:
  - text: <code>euler224()</code> should return 4137330.
    testString: assert.strictEqual(euler224(), 4137330);

Challenge Seed

function euler224() {
  // Good luck!
  return true;
}

euler224();

Solution

// solution required