Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-110-diophantine-reciprocals-ii.md

56 lines
1010 B
Markdown
Raw Normal View History

---
id: 5900f3db1000cf542c50feed
challengeType: 5
videoUrl: ''
2020-10-01 17:54:21 +02:00
title: 问题110丢番图互惠II
---
## Description
<section id="description">在下面的等式中xy和n是正整数。 1 / <var>x</var> + 1 / <var>y</var> = 1 / <var>n</var>可以证实,当<var>n</var> = 1260时存在113个不同的解并且这是<var>n的</var>最小值其中不同解的总数超过100。 <var>n的</var>最小值是多少,不同解决方案的数量超过四百万? </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>diophantineTwo</code>应该返回9350130049860600。
testString: assert.strictEqual(diophantineTwo(), 9350130049860600);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function diophantineTwo() {
// Good luck!
return true;
}
diophantineTwo();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>