freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-454-diophantine-rec...

471 B
Raw Blame History

id title challengeType videoUrl
5900f5331000cf542c510045 问题454丢番图倒数III 5

--description--

在下面的等式中xy和n是正整数。

1x + 1y = 1n

对于极限L我们将FL定义为满足x <y≤L的解的数量。

我们可以验证F15= 4和F1000= 1069.找到F1012

--hints--

euler454()应该返回5435004633092。

assert.strictEqual(euler454(), 5435004633092);

--solutions--