--- id: 5900f3fa1000cf542c50ff0d challengeType: 5 title: 'Problem 142: Perfect Square Collection' --- ## Description
Find the smallest x + y + z with integers x > y > z > 0 such that x + y, x − y, x + z, x − z, y + z, y − z are all perfect squares.
## Instructions
## Tests
```yml tests: - text: euler142() should return 1006193. testString: assert.strictEqual(euler142(), 1006193); ```
## Challenge Seed
```js function euler142() { // Good luck! return true; } euler142(); ```
## Solution
```js // solution required ```