---
id: 5900f44e1000cf542c50ff5f
title: 'Problem 224: Almost right-angled triangles II'
challengeType: 1
forumTopicId: 301867
dashedName: 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`.

```js
assert.strictEqual(almostRightAngledTrianglesTwo(), 4137330);
```

# --seed--

## --seed-contents--

```js
function almostRightAngledTrianglesTwo() {

  return true;
}

almostRightAngledTrianglesTwo();
```

# --solutions--

```js
// solution required
```
