866 B
866 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f5331000cf542c510045 | 問題 454: ディオファントス逆数 (3) | 5 | 302127 | problem-454-diophantine-reciprocals-iii |
--description--
次の式の x, y, n は正の整数です。
\frac{1}{x} + \frac{1}{y} = \frac{1}{n}
上限が L のとき、x < y ≤ L を満たす解の個数を F(L) とします。
F(15) = 4, F(1000) = 1069 であることを確認できます。
F({10}^{12}) を求めなさい。
--hints--
diophantineReciprocalsThree() は 5435004633092 を返す必要があります。
assert.strictEqual(diophantineReciprocalsThree(), 5435004633092);
--seed--
--seed-contents--
function diophantineReciprocalsThree() {
return true;
}
diophantineReciprocalsThree();
--solutions--
// solution required