--- id: 5900f5331000cf542c510045 challengeType: 5 title: 'Problem 454: Diophantine reciprocals III' videoUrl: '' localeTitle: 问题454:丢番图倒数III --- ## Description 在下面的等式中,x,y和n是正整数。 1x + 1y = 1n 对于极限L,我们将F(L)定义为满足x <y≤L的解的数量。 我们可以验证F(15)= 4和F(1000)= 1069.找到F(1012)。 ## Instructions ## Tests ```yml tests: - text: euler454()应该返回5435004633092。 testString: 'assert.strictEqual(euler454(), 5435004633092, "euler454() should return 5435004633092.");' ``` ## Challenge Seed ```js function euler454() { // Good luck! return true; } euler454(); ``` ## Solution ```js // solution required ```
1x + 1y = 1n
对于极限L,我们将F(L)定义为满足x <y≤L的解的数量。
我们可以验证F(15)= 4和F(1000)= 1069.找到F(1012)。
euler454()