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

28 lines
646 B
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
title: 问题441互质夫妇的反向总和
challengeType: 5
videoUrl: ''
---
# --description--
对于整数M我们将RM定义为满足所有这些条件的所有整数对p和q的1 /p·q之和
1≤p<q≤Mp +q≥Mp和q是互质的。
我们还将SN定义为Ri的总和为2≤i≤N。我们可以验证S2= R2= 1/2S10≈6.9147和S100 ≈58.2962。
找到S107。将您的答案四舍五入到小数点后四位。
# --hints--
`euler441()`应返回5000088.8395。
```js
assert.strictEqual(euler441(), 5000088.8395);
```
# --solutions--