28 lines
471 B
Markdown
28 lines
471 B
Markdown
---
|
||
id: 5900f5331000cf542c510045
|
||
title: 问题454:丢番图倒数III
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
在下面的等式中,x,y和n是正整数。
|
||
|
||
1x + 1y = 1n
|
||
|
||
对于极限L,我们将F(L)定义为满足x <y≤L的解的数量。
|
||
|
||
我们可以验证F(15)= 4和F(1000)= 1069.找到F(1012)。
|
||
|
||
# --hints--
|
||
|
||
`euler454()`应该返回5435004633092。
|
||
|
||
```js
|
||
assert.strictEqual(euler454(), 5435004633092);
|
||
```
|
||
|
||
# --solutions--
|
||
|