836 B
836 B
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f5331000cf542c510045 | Problema 454: Diofantinos recíprocos III | 5 | 302127 | problem-454-diophantine-reciprocals-iii |
--description--
Na equação a seguir, x
, y
, e n
são números inteiros positivos.
\frac{1}{x} + \frac{1}{y} = \frac{1}{n}
Para um limite L
, definimos F(L)
como o número de soluções que satisfazem x < y ≤ L
.
Podemos verificar que F(15) = 4
e F(1000) = 1069
.
Encontre F({10}^{12})
.
--hints--
diophantineReciprocalsThree()
deve retornar 5435004633092
.
assert.strictEqual(diophantineReciprocalsThree(), 5435004633092);
--seed--
--seed-contents--
function diophantineReciprocalsThree() {
return true;
}
diophantineReciprocalsThree();
--solutions--
// solution required