---
id: 5900f4f21000cf542c510005
challengeType: 5
title: 'Problem 390: Triangles with non rational sides and integral area'
videoUrl: ''
localeTitle: 'Problema 390: Triângulos com lados não racionais e área integral'
---

## Description
<section id="description"> Considere o triângulo com lados √5, √65 e √68. Pode ser mostrado que este triângulo tem área 9. <p> S (n) é a soma das áreas de todos os triângulos com lados √ (1 + b2), √ (1 + c2) e √ (b2 + c2) (para inteiros positivos b e c) que têm uma área integral não superior a n. </p><p> O triângulo do exemplo tem b = 2 e c = 8. </p><p> S (106) = 18018206. </p><p> Encontre S (1010). </p></section>

## Instructions
<section id="instructions">
</section>

## Tests
<section id='tests'>

```yml
tests:
  - text: <code>euler390()</code> deve retornar 2919133642971.
    testString: 'assert.strictEqual(euler390(), 2919133642971, "<code>euler390()</code> should return 2919133642971.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function euler390() {
  // Good luck!
  return true;
}

euler390();

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
