---
id: 5900f4801000cf542c50ff93
challengeType: 5
title: 'Problem 276: Primitive Triangles'
videoUrl: ''
localeTitle: 'Problema 276: Triângulos Primitivos'
---
## Description
Considere os triângulos com lados inteiros a, b e c com ≤ b ≤ c. Um triângulo de lados inteiros (a, b, c) é chamado primitivo se mdc (a, b, c) = 1. Quantos triângulos primitivos de lados inteiros existem com um perímetro que não excede 10 000 000?
## Instructions
## Tests
```yml
tests:
- text: euler276() deve retornar 5777137137739633000.
testString: 'assert.strictEqual(euler276(), 5777137137739633000, "euler276() should return 5777137137739633000.");'
```
## Challenge Seed
```js
function euler276() {
// Good luck!
return true;
}
euler276();
```