freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-379-least-common-mu...

56 lines
909 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: 5900f4e81000cf542c50fffa
challengeType: 5
videoUrl: ''
title: 问题379最少共同的多重计数
---
## Description
<section id="description">设fn为具有x和y正整数的耦合数xyx≤yx和y的最小公倍数等于n。 <p>令g为f的求和函数gn=Σfi1≤i≤n。 </p><p>你得到g106= 37429395。 </p><p>找到g1012</p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler379()</code>应该返回132314136838185。
testString: assert.strictEqual(euler379(), 132314136838185);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler379() {
// Good luck!
return true;
}
euler379();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>