823 B
823 B
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f5331000cf542c510045 | Problema 454: Reciproci diofantini III | 1 | 302127 | problem-454-diophantine-reciprocals-iii |
--description--
Nella seguente equazione x
, y$e $n
sono interi positivi.
\frac{1}{x} + \frac{1}{y} = \frac{1}{n}
Per un limite L
definiamo F(L)
come il numero di soluzioni che soddisfano x < y ≤ L
.
Possiamo verificare che F(15) = 4
e F(1000) = 1069
.
Trova F({10}^{12})
.
--hints--
diophantineReciprocalsThree()
dovrebbe restituire 5435004633092
.
assert.strictEqual(diophantineReciprocalsThree(), 5435004633092);
--seed--
--seed-contents--
function diophantineReciprocalsThree() {
return true;
}
diophantineReciprocalsThree();
--solutions--
// solution required