Files
2022-02-28 08:59:21 +01:00

45 lines
927 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: 'Problema 136: Differenza singola'
challengeType: 5
forumTopicId: 301764
dashedName: problem-136-singleton-difference
---
# --description--
Gli interi positivi, $x$, $y$e $z$, sono termini consecutivi di una progressione aritmetica. Dato che $n$ è un numero intero positivo, l'equazione, $x^2 y^2 z^2 = n$, ha esattamente una soluzione quando $n = 20$:
$$13^2 10^2 7^2 = 20$$
Infatti, ci sono venticinque valori di $n$ sotto il cento per i quali l'equazione ha una soluzione unica.
Quanti valori di $n$ minori di cinquanta milioni hanno esattamente una soluzione?
# --hints--
`singletonDifference()` dovrebbe restituire `2544559`.
```js
assert.strictEqual(singletonDifference(), 2544559);
```
# --seed--
## --seed-contents--
```js
function singletonDifference() {
return true;
}
singletonDifference();
```
# --solutions--
```js
// solution required
```