---
id: 5900f3fa1000cf542c50ff0d
challengeType: 5
title: 'Problem 142: Perfect Square Collection'
videoUrl: ''
localeTitle: 'Problema 142: Coleção Quadrada Perfeita'
---
## Description
Encontre o menor x + y + z com inteiros x> y> z> 0 tal que x + y, x - y, x + z, x - z, y + z, y - z são todos quadrados perfeitos.
## Instructions
## Tests
```yml
tests:
- text: euler142() deve retornar 1006193.
testString: 'assert.strictEqual(euler142(), 1006193, "euler142() should return 1006193.");'
```
## Challenge Seed
```js
function euler142() {
// Good luck!
return true;
}
euler142();
```