freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-441-the-inverse-sum...

56 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f5261000cf542c510038
challengeType: 5
videoUrl: ''
title: 问题441互质夫妇的反向总和
---
## Description
<section id="description">对于整数M我们将RM定义为满足所有这些条件的所有整数对p和q的1 /p·q之和 <p> 1≤p&lt;q≤Mp +q≥Mp和q是互质的。 </p><p>我们还将SN定义为Ri的总和为2≤i≤N。我们可以验证S2= R2= 1/2S10≈6.9147和S100 ≈58.2962。 </p><p>找到S107。将您的答案四舍五入到小数点后四位。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler441()</code>应返回5000088.8395。
testString: assert.strictEqual(euler441(), 5000088.8395);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler441() {
// Good luck!
return true;
}
euler441();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>