Files
2021-02-07 14:08:31 +05:30

45 lines
835 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f3f51000cf542c50ff07
title: 'Problem 136: Singleton difference'
challengeType: 5
forumTopicId: 301764
dashedName: problem-136-singleton-difference
---
# --description--
The positive integers, x, y, and z, are consecutive terms of an arithmetic progression. Given that n is a positive integer, the equation, x2 y2 z2 = n, has exactly one solution when n = 20:
132 102 72 = 20
In fact there are twenty-five values of n below one hundred for which the equation has a unique solution.
How many values of n less than fifty million have exactly one solution?
# --hints--
`euler136()` should return 2544559.
```js
assert.strictEqual(euler136(), 2544559);
```
# --seed--
## --seed-contents--
```js
function euler136() {
return true;
}
euler136();
```
# --solutions--
```js
// solution required
```