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

60 lines
844 B
Markdown

---
id: 5900f44e1000cf542c50ff5f
challengeType: 5
title: 'Problem 224: Almost right-angled triangles II'
forumTopicId: 301867
---
## Description
<section id='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?
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler224()</code> should return 4137330.
testString: assert.strictEqual(euler224(), 4137330);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler224() {
return true;
}
euler224();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>