Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-241-perfection-quotients.chinese.md

56 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f45d1000cf542c50ff70
challengeType: 5
title: 'Problem 241: Perfection Quotients'
videoUrl: ''
localeTitle: 问题241完美商数
---
## Description
<section id="description">对于正整数nσn为n的所有除数之和因此例如σ6= 1 + 2 + 3 + 6 = 12。 <p>正如您所知一个完美的数字是σn= 2n的数字。 </p><p>让我们定义正整数aspn=σnn的完美商。求出所有正整数n≤1018的和其中pn的形式为k + 1/2其中k是整数。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler241()</code>应该返回482316491800641150。
testString: 'assert.strictEqual(euler241(), 482316491800641150, "<code>euler241()</code> should return 482316491800641150.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler241() {
// Good luck!
return true;
}
euler241();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>