2018-10-10 18:03:03 -04:00
---
id: 5900f44b1000cf542c50ff5e
challengeType: 5
title: 'Problem 223: Almost right-angled triangles I'
2019-08-28 16:26:13 +03:00
forumTopicId: 301866
2018-10-10 18:03:03 -04:00
localeTitle: 'Проблема 223: Почти прямоугольные треугольники I'
---
## Description
2019-08-28 16:26:13 +03:00
< section id = 'description' >
Назовем целочисленный односторонний треугольник с о сторонами a ≤ b ≤ c едва острой, если стороны удовлетворяют условию a2 + b2 = c2 + 1. < p > Сколько почти острых треугольников существует с периметром ≤ 25 000 000? < / p >
< / section >
2018-10-10 18:03:03 -04:00
## Instructions
2019-08-28 16:26:13 +03:00
< section id = 'instructions' >
2018-10-10 18:03:03 -04:00
< / section >
## Tests
< section id = 'tests' >
```yml
tests:
2019-08-28 16:26:13 +03:00
- text: < code > euler223()</ code > should return 61614848.
testString: assert.strictEqual(euler223(), 61614848);
2018-10-10 18:03:03 -04:00
```
< / section >
## Challenge Seed
< section id = 'challengeSeed' >
< div id = 'js-seed' >
```js
function euler223() {
// Good luck!
return true;
}
euler223();
```
< / div >
< / section >
## Solution
< section id = 'solution' >
```js
// solution required
```
2019-08-28 16:26:13 +03:00
2018-10-10 18:03:03 -04:00
< / section >